122-32000 Parallax Inc, 122-32000 Datasheet - Page 400

MANUAL PROPELLER

122-32000

Manufacturer Part Number
122-32000
Description
MANUAL PROPELLER
Manufacturer
Parallax Inc
Datasheets

Specifications of 122-32000

Accessory Type
Manual
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
Propeller Education (PE) Kit
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
ROL
Instruction: Rotate value left by specified number of bits.
ROL
Result: Value is rotated left by Bits.
Explanation
ROL
into its LSBs.
If the
effect is specified, at the end of the operation, the C flag is set equal to Value’s original bit
31. The result is written to Value unless the
ROR
Instruction: Rotate value right by specified number of bits.
ROR
Result: Value is rotated right by Bits.
Page 400 · Propeller Manual v1.0
–INSTR– ZCRI –CON–
–INSTR– ZCRI –CON–
001001 001i 1111 ddddddddd sssssssss
001000 001i 1111 ddddddddd sssssssss
(Rotate Left) rotates Value left, Bits times. The MSBs rotated out of Value are rotated
Value,
Value,
,
WZ
Value
Bits
left.
Value
Bits
right.
effect is specified, the Z flag is set (1) if the resulting Value equals zero. If the
#
(s-field) is a register or a 5-bit literal whose value is the number of bits to rotate
(s-field) is a register or a 5-bit literal whose value is the number of bits to rotate
#
(d-field) is the register to rotate left.
(d-field) is the register to rotate right.
Bits
– Assembly Language Reference
Bits
–DEST–
–DEST–
–SRC–
–SRC–
NR
effect is specified.
Result = 0
Result = 0
Z Result
Z Result
C Result
C Result
D[31]
D[0]
Written
Written
Result
Result
Clocks
Clocks
4
4
WC

Related parts for 122-32000