![background image](http://html1.mh-extra.com/html/omron/srm1-programing-02-2001/srm1-programing-02-2001_programming-manual_742414474.webp)
7-20
Section
Conversion Instructions
456
The following example shows how to use NEG(––) to find the 2’s complement of
the content of DM 0005 and output the result to IR 105.
00000
LD
00100
00001
NEG(––)
DM
0005
105
000
NEG(––)
DM 0005
105
000
00100
Address
Instruction
Operands
#0000
#001F
#FFE1
–
Output to IR 105.
Content of DM 0005.
Example