Omron CP1E-NA@@D@-@ Computer Hardware User Manual


 
2 Instructions
2-158
CP1E CPU Unit Instructions Reference Manual(W483)
Symbol Math Instructions
+/+L
Applicable Program Areas
Operands
Operand Specifications
Instruction Mnemonic Variations
Function
code
Function
SIGNED BINARY ADD
WITHOUT CARRY
+ @+ 400
Adds 4-digit (single-word) hexadecimal data
and/or constants.
DOUBLE SIGNED BINARY
ADD WITHOUT CARRY
+L @+L 401
Adds 8-digit (double-word) hexadecimal data
and/or constants.
Symbol
+ +L
Area Step program areas Subroutines Interrupt tasks
Usage OK OK OK
Operand Description
Data type Size
+ +L + +L
Au
+: Augend word
+L: First augend word
INT DINT 1 2
Ad
+: Addend word
+L: First addend word
INT DINT 1 2
R
+: Result word
+L: First result word
INT DINT 1 2
Area
Word addresses Indirect DM addresses
Constants CF Pulse bits TR bits
CIO WR HR AR T C DM @DM *DM
Au, Ad
OK OK OK OK OK OK OK OK OK
OK
--- --- ---
R ---
+(400)
R
Au
Ad
Au: Augend word
Ad: Addend word
R: Result word
+L(401)
R
Au
Ad
Au: 1st augend word
Ad: 1st addend word
R: 1st result word