-- -- > | OPERAND | -- -- > | C |
< -- -- | X | < -- -- |
ADDRESS METHODS: (An), (An)+, -(An), x(An), x(An,xr.s), x.w, x.l (only when rotating a word in the memory)
DATA LENGTH: Byte, word, longword
When rotating in the memory, you can only use word.
FLAGS: | X - The last bit that was rotated from the operand. Unaffected if rotation step was zero. |
N - S | |
Z - S | |
C - Same as X | |
V - 0
|
SYNTAX: | ROXL #<steps>,Dy |
ROXL Dx,Dy | |
ROXL <ea> |
EXAMPLE CODE:
ROXR.B #1,D0 if D0.B contained 00001111, X = 1 it would now be 10000111 If X = 0 then 00000111