Appendices
A-22
CJ2 CPU Unit Software User’s Manual
ROTATE LEFT
WITHOUT
CARRY
RLNC
@RLNC
574 Output Required
DOUBLE
ROTATE LEFT
WITHOUT
CARRY
RLNL
@RLNL
576 Output Required
ROTATE RIGHT ROR
@ROR
028 Output Required
DOUBLE
ROTATE RIGHT
RORL
@RORL
573 Output Required
ROTATE RIGHT
WITHOUT
CARRY
RRNC
@RRNC
575 Output Required
DOUBLE
ROTATE RIGHT
WITHOUT
CARRY
RRNL
@RRNL
577 Output Required
ONE DIGIT
SHIFT LEFT
SLD
@SLD
074 Output Required
ONE DIGIT
SHIFT RIGHT
SRD
@SRD
075 Output Required
SHIFT N-BIT
DATA LEFT
NSFL
@NSFL
578 Output Required
Instruction Mnemonic Code Symbol/Operand Function Location
Execution
condition
RLNC(574)
Wd
Wd: Word
Wd
Shifts all Wd bits one bit to the left not including the
Carry Flag (CY).
RLNL(576)
Wd
Wd: Word
Wd+1
Wd
Shifts all Wd and Wd +1 bits one bit to the left not
including the Carry Flag (CY).
ROR(028)
Wd
Wd: Word
Wd
Wd+1
Shifts all Wd bits one bit to the right including the
Carry Flag (CY).
Wd
RORL(573)
Wd: Word
Wd
Wd+1
Shifts all Wd and Wd +1 bits one bit to the right including
the Carry Flag (CY).
RRNC(575)
Wd
Wd: Word
Wd
Shifts all Wd bits one bit to the right not including the
Carry Flag (CY). The contents of the rightmost bit of
Wd shifts to the leftmost bit and to the Carry Flag (CY).
RRNL(577)
Wd
Wd: Word
Wd+1 Wd
Shifts all Wd and Wd +1 bits one bit to the right not
including the Carry Flag (CY). The contents of the
rightmost bit of Wd +1 is shifted to the leftmost bit of Wd,
and to the Carry Flag (CY).
SLD(074)
St
E
St: Starting word
E: End word
ESt
Lost
Shifts data by one digit (4 bits) to the left.
SRD(075)
St
E
St: Starting word
E: End word
ESt
Shifts data by one digit (4 bits) to the right.
Lost
NSFL(578)
D
C
N
D: Beginning word
for shift
C: Beginning bit
N: Shift data
length
N −1 bit
N −1 bit
Shifts the specified number of bits to the left.
Shifts one bit to the left