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