EasyManua.ls Logo

Motorola 68000 - Page 49

Motorola 68000
60 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
47
The 68000's Instruction Set
operation. The bit shifted out is also copied into the C-bit of the
CCR, but not into the X-bit. The shift count may be specified in
one of three ways: the count may be a literal, the contents of a
data register, or the value 1. An immediate count permits a shift
of 1 to 8 places. If the count is in a register, the value is modulo
64, allowing a range of 0 to 63. If no count is specified, the word
at the effective address is rotated by one place (e.g., ROL <ea>).
Condition codes: X N Z V C
- * * 0 *
The X-bit is not affected and the C-bit is set to the last bit rotated
out of the operand (C is set to zero if the shift count is 0).
Destination operand addressing modes
ROXL, ROXR Rotate left/right with extend
Operation: [destination] [destination] rotated by <count>
Syntax: ROXL Dx,Dy
ROXR Dx,Dy
ROXL #<data>,Dy
ROXR #<data>,Dy
ROXL <ea>
ROXR <ea>
Attributes: Size = byte, word, longword

Other manuals for Motorola 68000

Related product manuals