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


 
2-147
2 Instructions
CP1E CPU Unit Instructions Reference Manual(W483)
Increment/Decrement
Instructions
2
++/++L
Increment/Decrement Instructions
++/+ +L
Applicable Program Areas
Operands
Operand Specifications
Flags
Instruction Mnemonic Variations
Function
code
Function
INCREMENT BINARY ++ @++ 590
Increments the 4-digit hexadecimal content of the
specified word by 1.
DOUBLE INCREMENT
BINARY
++L @++L 591
Increments the 8-digit hexadecimal content of the
specified words by 1.
Symbol
++ ++L
Area Step program areas Subroutines Interrupt tasks
Usage OK OK OK
Operand Description
Data type Size
++ ++L ++ ++L
Wd
++: Word
++L: First word
UINT UDINT 1 2
Area
Word addresses Indirect DM addresses
Constants CF Pulse bits TR bits
CIO WR HR AR T C DM @DM *DM
Wd OK OK OK OK OK OK OK OK OK --- --- --- ---
Name Label Operation
Error Flag P_ER OFF
Equals Flag P_EQ ON if the result is 0000/0000 0000 after execution.
OFF in all other cases.
Carry Flag P_CY ON if a digit in Wd/Wd+1 or Wd went from F to 0 during execution.
OFF in all other cases.
Negative Flag P_N ON if bit 15 of Wd/Wd+1 is ON after execution.
OFF in all other cases.
Wd: Word
++(590)
Wd
Wd: First word
++L(591)
Wd