91
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
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).
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).
St: Starting word
E: End word
SLD(074)
St
E
Lost
ESt
Shifts data by one digit (4 bits) to the left.
St: Starting word
E: End word
SRD(075)
St
E
Lost
ESt
Shifts data by one digit (4 bits) to the right.
D: Beginning
word for shift
C: Beginning bit
N: Shift data
len
N–1 bit
Shifts one bit to the left
N–1 bit
Shifts the specified number of bits to the left.
D: Beginning
word for shift
C: Beginning bit
N: Shift data
len
N–1 bit
Shifts one bit to the right
N–1 bit
Shifts the specified number of bits to the right.