EasyManua.ls Logo

Omron SYSMAC CV Series - Page 279

Omron SYSMAC CV Series
636 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
(084)
ADBL 0500 D02000 D05000
(079)
CLC
0000
00
267
Refer to page 115 for general precautions on operand data areas.
Flags ER (A50003): Content of *DM word is not BCD when set for BCD.
CY (A50004): The result is greater than FFFF FFFF.
EQ (A50006): The result is 0.
N (A50008): Shows the status of bit 15 of R+1.
Example The following example shows an 8-digit addition with CY (A50004) used to store
the status of the 9
th
digit. The status of CY would need to be stored in another
word (normally D05002) before it was affected by execution of another instruc-
tion.
Address Instruction Operands
00000 LD 000000
00001 CLC(079)
00002 ADBL(084)
0500
D02000
D05000
554B5952 + 614329D2 = B68E832A
Au + 1 : CIO 0501
Au : CIO 0500
Ad + 1 : D02001 Ad : D02000
554B 5952
6143
29D8
0
+
D + 1 : D05001 D : D05000
832AB68E
0
1
CY (Cleared with CLC(079))
CY (No carry)
N (Leftmost bit is ON)
Precautions
Binary Calculation Instructions Section 5-19

Table of Contents

Related product manuals