2. Summary of Instructions
Instruction
Symbol/Operand
Mnemonic
Code
DOUBLE
ROTATE RIGHT
RRNL(577)
WITHOUT
CARRY
RRNL
Wd: Word
@RRNL
577
ONE DIGIT SHIFT
SLD(074)
LEFT
SLD
@SLD
074
St: Starting word
E: End word
ONE DIGIT SHIFT
SRD(075)
RIGHT
SRD
@SRD
075
St: Starting word
E: End word
SHIFT N-BIT
DATA LEFT
NSFL(578)
NSFL
@NSFL
578
D: Beginning
word for shift
C: Beginning bit
N: Shift data
length
SHIFT N-BIT
DATA RIGHT
NSFR(579)
NSFR
@NSFR
579
D: Beginning
word for shift
C: Beginning bit
N: Shift data
length
SHIFT N-BITS
NASL(580)
LEFT
NASL
@NASL
580
D: Shift word
C: Control word
54
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).
Wd
Wd+1
Shifts data by one digit (4 bits) to the left.
E
St
Lost
E
Shifts data by one digit (4 bits) to the right.
E
St
E
Shifts the specified number of bits to the left.
D
C
N
Shifts the specified number of bits to the right.
D
C
N
Shifts the specified 16 bits of word data to the left by the specified
number of bits.
D
C
Lost
Function
Wd
S
t
S
t
Shifts one bit to the left
N−1 bit
N−1 bit
Shifts one bit to the right
N 1 bit
N 1 bit
Shift n-bits
Contents of
shifted in "a"
or "0"
N bits
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Location
Page
Execution
condition
Output
317
Required
Output
319
Required
Output
319
Required
Lost
Output
321
Required
Output
321
Required
Output
324
Required