Motorola CPU32 User Manual Page 268

  • Download
  • Add to my manuals
  • Print
  • Page
    / 646
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 267
Integer Instructions
4-164 M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL MOTOROLA
ROXL, ROXR Rotate with Extend ROXL, ROXR
(M68000 Family)
Condition Codes:
X Set to the value of the last bit rotated out of the operand; unaffected when the
rotate count is zero.
N — Set if the most significant bit of the result is set; cleared otherwise.
Z Set if the result is zero; cleared otherwise.
V Always cleared.
C — Set according to the last bit rotated out of the operand; when the rotate count is
zero, set to the value of the extend bit.
Instruction Format:
REGISTER ROTATE
Instruction Fields:
Count/Register field:
If i/r = 0, this field contains the rotate count. The values 1 – 7 represent counts of 1
– 7, and zero specifies a count of eight.
If i/r = 1, this field specifies a data register that contains the rotate count (modulo 64).
dr field—Specifies the direction of the rotate.
0 Rotate right
1 Rotate left
XNZVC
∗∗∗0
1514131211109876543210
1110
COUNT/
REGISTER
dr SIZE i/r 1 0 REGISTER
Page view 267
1 2 ... 263 264 265 266 267 268 269 270 271 272 273 ... 645 646

Comments to this Manuals

No comments