![background image](http://html1.mh-extra.com/html/omron/sysmac-c200hs/sysmac-c200hs_operation-manual_742436454.webp)
Appendix C
Error and Arithmetic Flag Operation
451
Instructions
Page
25507 (LE)
25506 (EQ)
25505 (GR)
25504 (CY)
25503 (ER)
FPD(––)
Unaffected
Unaffected
Unaffected
285
HEX(––)
Unaffected
Unaffected
Unaffected
Unaffected
195
HMS(66)
Unaffected
Unaffected
Unaffected
184
INT(89)
Unaffected
Unaffected
Unaffected
Unaffected
262
LINE(63)
Unaffected
Unaffected
Unaffected
200
LMSG(47)
Unaffected
Unaffected
Unaffected
Unaffected
279
MAX(––)
Unaffected
Unaffected
Unaffected
233
MBS(––)
229
MBSL(––)
230
MCMP(19)
169
MIN(––)
234
MTR(––)
4
Unaffected
Unaffected
Unaffected
Unaffected
313
NEG(––)
2
Unaffected
Unaffected
Unaffected
202
NEGL(––)
2
203
PID(––)
242
RXD(––)
Unaffected
Unaffected
Unaffected
Unaffected
297
SBBL(––)
2
Unaffected
Unaffected
Unaffected
227
SCAN(18)
Unaffected
Unaffected
Unaffected
Unaffected
276
SCL(––)
Unaffected
Unaffected
Unaffected
198
SEC(65)
183
SRCH(––)
289
SUM(––)
237
TKY(––)
Unaffected
Unaffected
Unaffected
Unaffected
311
TTIM(87)
144
TXD(––)
299
XFRB(62)
168
XDMR(––)
290
ZCP(88)
Unaffected
176
ZCPL(––)
177
Note 1. SR 25409 will be ON when 7SEG(––) is being executed.
2. ADBL(––), NEG(––), NEGL(––), and SBBL(––) also affect the signed binary arithmetic flags. Refer to
page 451 for details.
3. SR 25410 will be ON when DSW(––) is being executed.
4. SR 25408 will be ON when MTR(––) is being executed.
Signed Binary Arithmetic Flags
The following table shows the instructions that affect the OF and UF flags. In general, OF indicates that the result of
a 16-bit calculation is greater than 32,767 (7FFF) or the result of a 32-bit calculation is greater than 2,147,483,647
(7FFF FFFF). UF indicates that the result of a 16-bit calculation is less than –32,768 (8000) or the result of a 32-bit
calculation is less than –2,147,483,648 (8000 0000). Refer to Section 5 Instruction Set for details.
Vertical arrows in the table indicate the flags that are turned ON and OFF according to the result of the instruction.
Instructions not shown do not affect any of the flags in the table.
The OF and UF Flags are turned OFF when END(01) is executed, so their status cannot be monitored with a Pro-
gramming Console.