97
Data Shift Instructions
Section 3-7
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
SHIFT N-BIT
DATA RIGHT
NSFR
@NSFR
579
Output
Required
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution condition
RRNC(575)
Wd
d: 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
W
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
: 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
NSFR(579)
D
C
N
D: Beginning
word for shift
C: Beginning bit
N: Shift data
len
th
N−1 bit
N−1 bit
Shifts one bit to the righ
Shifts the specified number of bits to the right.