> JK> > Note that this only works for unsigned numbers, since there
> JK> > rotate-arithmatic instruction... RAL would have been nice :-
> JK> Exactly what would RAL do that ROL doesn't?
>
> Allow you to rotate signed numbers, without losing the sign-bit.
And how do you do that?
Please diagram such an operation.
(sooner or later, you will get it)
> ROLL? I don't recall mentioning anything to do with ROLL?? Perhaps
> you mean ROL? If you are trying to say that ROL and arithmetic
> shift are contrary, well yes they are.. THAT was my entire point.
But you want to COMBINE roll and arithmetic shift ... how are you going to do
that?
Please diagram such an operation. When you do, you will realize how stupid
such an instruction would be. (Since it either does a arithmetic shift, or a
roll... no combination can be made)
You want to create "RAL" and "RAR" .. Rotate Arithmetic Left, and Rotate
Arithmetic Right .. diagrams please!
--- GEcho 1.02+
---------------
* Origin: Midnight Madness Hartford, CT (1:142/8076)
|