Increment/Decrement Instructions - Omron SYSMAC CS/CJ Series Programming Manual

Table of Contents

Advertisement

Increment/Decrement Instructions

3-8
Increment/Decrement Instructions
Instruction
Symbol/Operand
Mnemonic
Code
INCREMENT
BINARY
++(590)
++
@++
590
Wd: Word
DOUBLE INCRE-
MENT BINARY
++L(591)
++L
@++L
591
Wd: Word
DECREMENT
BINARY
– –
– –
@– –
592
Wd: Word
DOUBLE DEC-
REMENT
– –
BINARY
– –L
@– –L
Wd: 1st word
593
INCREMENT
BCD
++B(594)
++B
@++B
594
Wd: Word
DOUBLE INCRE-
MENT BCD
++BL(595)
++BL
@++BL
595
Wd: 1st word
DECREMENT
BCD
– –
– –B
@– –B
596
Wd: Word
DOUBLE DEC-
REMENT BCD
– –
– –BL
@– –BL
597
Wd: 1st word
Increments the 4-digit hexadecimal content of the specified word by 1.
Wd
Wd
Increments the 8-digit hexadecimal content of the specified words by 1.
Wd
Wd+1
Decrements the 4-digit hexadecimal content of the specified word by 1.
(592)
Wd
Wd
Decrements the 8-digit hexadecimal content of the specified words by 1.
L(593)
Wd
Wd+1
Increments the 4-digit BCD content of the specified word by 1.
Wd
Increments the 8-digit BCD content of the specified words by 1.
Wd
Wd+1
Decrements the 4-digit BCD content of the specified word by 1.
B(596)
Wd
Decrements the 8-digit BCD content of the specified words by 1.
BL(597)
Wd
Wd+1
Function
Wd
Wd
Wd+1
Wd
Wd
Wd+1
Wd
Wd
Wd
Wd+1
Wd
–1
Wd
Wd
Wd+1
Section 3-8
Location
Execution
condition
Output
Required
Output
Required
Wd
Output
Required
Output
Required
Wd
Output
Required
Output
Required
Wd
Output
Required
Output
Required
Wd
93

Advertisement

Table of Contents
loading

Table of Contents