![background image](http://html1.mh-extra.com/html/omron/sysmac-c1000h/sysmac-c1000h_operation-manual_743079322.webp)
317
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
BCD DIVIDE
(@)DIV(33)
R
DIV(33)
Dd
Dr
Divides the 4-digit BCD dividend (Dd) by
the 4-digit BCD divisor (Dr), and outputs
the result to the specified result words. R
receives the quotient; R + 1 receives the
remainder. R and R + 1 must be in the same
data area.
R + 1
R
Dd
÷
Dr
Dd/
Dr:
IR
SR
HR
AR
LR
TC
DM
#
R:
IR
HR
AR
LR
DM
167
AND WORD
(@)ANDW(34)
ANDW(34)
I1
I2
R
Logically ANDs two 16-bit input words (I1
and I2) and sets the bits in the result
word (R) if the corresponding bits in the
input words are both ON.
I1/I2:
IR
SR
HR
AR
LR
TC
DM
#
R:
IR
HR
AR
LR
DM
180
OR WORD
(@)ORW(35)
ORW(35)
I1
I2
R
Logically ORs two 16-bit input words (I1
and I2) and sets the bits in the result
word (R) when one or both of the
corresponding bits in the input words
is/are ON.
I1/I2:
IR
SR
HR
AR
LR
TC
DM
#
R:
IR
HR
AR
LR
DM
180
EXCLUSIVE OR
(@)XORW(36)
XORW(36)
I1
I2
R
Exclusively ORs two 16-bit input words
(I1 and I2) and sets the bits in the result
word (R) when the corresponding bits in
input words differ in status.
I1/I2:
IR
SR
HR
AR
LR
TC
DM
#
R:
IR
HR
AR
LR
DM
181
EXCLUSIVE NOR
(@)XNRW(37)
I1
I2
R
XNRW(37)
Exclusively NORs two 16-bit input words
(I1 and I2) and sets the bits in the result
word (R) when the corresponding bits in
both input words have the same status.
I1/I2:
IR
SR
HR
AR
LR
TC
DM
#
R:
IR
HR
AR
LR
DM
182
INCREMENT
(@)INC(38)
INC(38)
Wd
Increments the value of a 4-digit BCD
word (Wd) by one, without affecting carry
(CY).
Wd:
IR
HR
AR
LR
DM
159
DECREMENT
(@)DEC(39)
DEC(39)
Wd
Decrements the value of a 4-digit BCD
word by 1, without affecting carry (CY).
Wd:
IR
HR
AR
LR
DM
159
Special Instructions
Appendix B