A-1-8 Increment/Decrement Instructions; A-1-9 Symbol Math Instructions - Omron CJ2 CPU UNIT SOFTWARE User Manual

Cj2 cpu unit software
Hide thumbs Also See for CJ2 CPU UNIT SOFTWARE:
Table of Contents

Advertisement

Appendices
A-1-8
Increment/Decrement Instructions
Instruction
Mnemonic
INCREMENT
++
590
BINARY
@++
DOUBLE
++L
591
INCREMENT
@++L
BINARY
− −
DECREMENT
592
BINARY
@− −
− −L
DOUBLE DEC-
593
REMENT
@− −L
BINARY
INCREMENT
++B
594
BCD
@++B
DOUBLE
++BL
595
INCREMENT
@++BL
BCD
− −B
DECREMENT
596
BCD
@− −B
− −BL
DOUBLE DEC-
597
REMENT BCD
@− −BL
A-1-9
Symbol Math Instructions
Instruction
Mnemonic
SIGNED
+
400
BINARY ADD
@+
WITHOUT
CARRY
A-24
Code
Symbol/Operand
++(590)
Wd
Wd: Word
++L(591)
Wd
Wd: Word
− − (592)
Wd
Wd: Word
− − L(593)
Wd
Wd: 1st word
++B(594)
Wd
Wd: Word
++BL(595)
Wd
Wd: 1st word
− − B(596)
Wd
Wd: Word
− − BL(597)
Wd
Wd: 1st word
Code
Symbol/Operand
Adds 4-digit (single-word) hexadecimal data and/or
+(400)
constants.
Au
Ad
R
Au: Augend word
CY will turn
Ad: Addend word
ON when
R: 1st result word
there is a
carry.
Function
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+1
Wd
Decrements the 4-digit hexadecimal content
of the specified word by 1.
Wd
Wd
Decrements the 8-digit hexadecimal content of the
specified words by 1.
Wd+1
Wd
Wd+1
Increments the 4-digit BCD content
of the specified word by 1.
Wd
Wd
Increments the 8-digit BCD content of the specified
words by 1.
Wd+1
Wd
Decrements the 4-digit BCD content of
the specified word by 1.
Wd
Wd
−1
Decrements the 8-digit BCD content of the specified
words by 1.
Wd+1
Wd
Function
(Signed binary)
Au
(Signed binary)
Ad
+
(Signed binary)
CY
R
Execution
Location
condition
Output
Required
Output
Required
Wd+1
Wd
Output
Required
Output
Required
Wd
Output
Required
Output
Required
Wd+1
Wd
Output
Required
Output
Required
Wd+1
Wd
Execution
Location
condition
Output
Required
CJ2 CPU Unit Software User's Manual

Advertisement

Table of Contents
loading

Table of Contents