Conversion Instructions
Example
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.
00100
–
Address Instruction
NEG(––)
00000
LD
DM 0005
00001
NEG(––)
105
000
#0000
#001F
Content of DM 0005.
Output to IR 105.
#FFE1
Section
7-20
Operands
00100
DM
0005
105
000
Need help?
Do you have a question about the CPM1 - PROGRAMING MANUAL 02-2001 and is the answer not in the manual?