341
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Increment/Decrement Instructions
3
--/--L
--/--L
Applicable Program Areas
Operands
z 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
Function block
definitions
Block program areas Step program areas Subroutines Interrupt tasks
SFC action or
transition programs
Usage OK OK OK OK OK OK
Operand Description
Data type Size
-- --L -- --L
Wd
--: Word
--L: First word
UINT UDINT 1 2
Area
Word addresses
Indirect DM/EM
addresses
Con-
stants
Registers Flags
Pulse
bits
TR
bits
CIO WR HR AR T C DM EM
@DM
@EM
*DM
*EM
DR IR
Indirect
using IR
TK CF
-- Wd
OK OK OK OK OK OK OK OK OK OK
---
OK ---
OK --- --- --- ---
--L Wd --- OK
Name Label Operation
Error Flag ER OFF
Equals Flag = • ON if the result is 0000/0000 0000 after execution.
• OFF in all other cases.
Carry Flag 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 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