Rotate - Intel i960 Jx Developer's Manual

Microprocessor
Table of Contents

Advertisement

INSTRUCTION SET REFERENCE
6.2.55

rotate

Mnemonic:
rotate
Format:
rotate
Description:
Copies src2 to dst and rotates the bits in the resulting dst operand to the left
(toward higher significance). Bits shifted off left end of word are inserted at
right end of word. The len operand specifies number of bits that the dst
operand is rotated.
This instruction can also be used to rotate bits to the right. The number of bits
the word is to be rotated right should be subtracted from 32 and the result
used as the len operand.
Action:
src2 is rotated by len mod 32. This value is stored in dst.
STANDARD
Faults:
Example:
rotate 13, r8, r12 # r12
Opcode:
rotate
See Also:
SHIFT, eshro
6-94
Rotate
len,
src2,
reg/lit
reg/lit
Refer to
r8 with bits rotated
# 13 bits to left.
59DH
REG
dst
reg
section 6.1.6, "Faults" (pg.
6-5).

Advertisement

Table of Contents
loading

Table of Contents