Instruction Functions
2-2-8
Increment/Decrement Instructions
Instruction
Symbol/Operand
Mnemonic
Code
INCREMENT
BINARY
++(590)
++
@++
590
Wd: Word
DOUBLE INCRE-
++L(591)
MENT BINARY
++L
@++L
591
Wd: Word
DECREMENT
BINARY
– –
@– –
592
Wd: Word
DOUBLE DEC-
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
BCD
– –B
@– –B
596
Wd: Word
DOUBLE DEC-
REMENT BCD
– –BL
@– –BL
597
Wd: 1st word
50
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
Wd
Decrements the 4-digit hexadecimal content of the specified word by
(592)
1.
Wd
Wd
Decrements the 8-digit hexadecimal content of the specified words by
L(593)
1.
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+1
Wd
Wd
Wd+1
Wd
Wd
Wd
Wd+1
−1
Wd
Wd
Wd
Wd+1
Section 2-2
Location
Execution
condition
Output
Required
Output
Required
Wd
Output
Required
Output
Required
Wd
Output
Required
Output
Required
Wd
Output
Required
Output
Required
Wd
Page
409
411
413
415
417
419
421
423
Need help?
Do you have a question about the SYSMAC CJ - REFERENCE MANUAL 08-2008 and is the answer not in the manual?
Questions and answers