2 Instructions
2-150 CP1E CPU Unit Instructions Reference Manual(W483)
--/--L
Applicable Program Areas
Operands
Operand Specifications
Flags
Instruction Mnemonic Variations Function
code Function
DECREMENT BINARY -- @-- 592 Decrements the 4-digit hexadecimal content of the
specified word by 1.
DOUBLE DECREMENT
BINARY --L @--L 593 Decrements 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 0 to F 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
--(592)
Wd Wd: First word
--L(593)
Wd