Increment/Decrement Instructions - Omron CJ - INSTRUCTIONS Reference Manual

Table of Contents

Advertisement

2. Summary of Instructions
2-2-8

Increment/Decrement Instructions

Instruction
Symbol/Operand
Mnemonic
Code
INCREMENT
BINARY
++
@++
590
Wd: Word
DOUBLE INCRE-
MENT BINARY
++L(591)
++L
@++L
591
Wd: Word
DECREMENT
− −
BINARY
– –
@– –
592
Wd: Word
DOUBLE DEC-
− − L(593)
REMENT
BINARY
– –L
@– –L
Wd: 1st word
593
INCREMENT
++B(594)
BCD
++B
@++B
594
Wd: Word
DOUBLE INCRE-
++BL(595)
MENT BCD
++BL
@++BL
595
Wd: 1st word
DECREMENT
− − B(596)
BCD
– –B
@– –B
596
Wd: Word
DOUBLE DEC-
− − BL(597)
REMENT BCD
– –BL
@– –BL
597
Wd: 1st word
58
Increments the 4-digit hexadecimal content of the specified word by 1.
++(590)
Wd
Wd
Increments the 8-digit hexadecimal content of the specified words by 1.
Wd+1
Wd
Wd
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.
Wd+1
Wd
Wd
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.
Wd
Decrements the 8-digit BCD content of the specified words by 1.
Wd
Wd+1
Function
Wd
Wd+1
Wd
Wd+1
Wd
Wd
Wd
Wd+1
−1
Wd
Wd
Wd
Wd+1
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Location
Execution
condition
Output
Required
Output
Required
Wd
Output
Required
Output
Required
Wd
Output
Required
Output
Required
Wd
Output
Required
Output
Required
Wd
Page
338
338
341
341
344
344
347
347

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents