316
IR
SR
HR
TR
AR
LR
TC
DM
#
00000 to 23615
23700 to 25515
HR 0000 to 9915
TR 0 to 7
AR 0000 to 2715
LR 0000 to 6315
TC 000 to 511
C1000H: DM 0000 to DM 4095
C2000H: DM 0000 to DM 6655
0000 to 9999
or 0000 to FFFF
These footnote tables show the actual ranges of all data areas. Bit numbers are provided (except for DM and TC areas); remove the rightmost two digits for word numbers.
Data Areas
Name Mnemonic
Page
Operand Data
Areas
Function
Symbol
ROTATE LEFT
(@)ROL(27)
ROL(27)
Wd
Each bit within a single word of data (Wd)
is moved one bit to the left, with bit 15
moving to carry (CY), and CY moving to bit
00.
15 00
CY
Wd
Wd:
IR
HR
AR
LR
DM
132
ROTATE RIGHT
(@)ROR(28)
ROR(28)
Wd
15 00
CY
Wd
Each bit within a single word of data (Wd)
is moved one bit to the right, with bit 00
moving to carry (CY), and CY moving to bit
15.
Wd:
IR
HR
AR
LR
DM
133
COMPLEMENT
(@)COM(29)
COM(29)
Wd
Inverts bit status of one word (Wd) of data,
changing 0s to 1s, and vice versa.
Wd Wd
Wd:
IR
HR
AR
LR
DM
179
BCD ADD
(@)ADD(30)
ADD(30)
Au
Ad
R
CY CY
Adds two 4-digit BCD values (Au and Ad)
and content of CY, and outputs the result to
the specified result word (R).
Au + Ad +
R
Au/
Ad:
IR
SR
HR
AR
LR
TC
DM
#
R:
IR
HR
AR
LR
DM
160
BCD SUBTRACT
(@)SUB(31)
SUB(31)
Mi
Su
R
Subtracts both the 4-digit BCD subtrahend
(Su) and content of CY, from the 4-digit
BCD minuend (Mi) and outputs the result to
the specified result word (R).
CY
Mi – Su –
R CY
Mi/
Su:
IR
SR
HR
AR
LR
TC
DM
#
R:
IR
HR
AR
LR
DM
162
BCD MULTIPLY
(@)MUL(32)
MUL(32)
Md
Mr
R
Multiplies the 4-digit BCD multiplicand
(Md) and 4-digit BCD multiplier (Mr), and
outputs the result to the specified result
words (R and R + 1). R and R + 1 must be
in the same data area.
Md x Mr
R + 1
R
Md/
Mr:
IR
SR
HR
AR
LR
TC
DM
#
R:
IR
HR
AR
LR
DM
165
Special Instructions
Appendix B