| << Previous | Next >> | |
| |
SLL b,BCDE
SLL b,JKHL Shift Left Logical Rabbit 4000 Instruction
---- SLL b,BCDE 4 (2,2) BCDE = {BCDE[30,0],0}
CF = B[7]
b = b - 1
repeat while b != 0---- SLL b,JKHL 4 (2,2) JKHL = {JKHL[30,0],0}
CF = J[7]
b = b - 1
repeat while b != 0
Description
Shifts to the left the bits of the data in register BCDE or JKHL. Bits 0 through 30 are each shifted to the next highest-order bit position (bit 0 moves to bit 1, etc.). The highest-order bit (bit 31 of BCDE or JKHL) is shifted to the C flag. Bit 0 is reset. See the figure below.
| | |
| << Previous | Next >> |