Omron CJ2 CPU UNIT SOFTWARE User Manual page 512

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

Advertisement

Appendices
Instruction
Mnemonic
DOUBLE
*UL
423
UNSIGNED
@*UL
BINARY
MULTIPLY
BCD MULTIPLY
*B
424
@*B
DOUBLE BCD
*BL
425
MULTIPLY
@*BL
SIGNED
/
430
BINARY
@/
DIVIDE
DOUBLE
/L
431
SIGNED
@/L
BINARY
DIVIDE
UNSIGNED
/U
432
BINARY
@/U
DIVIDE
A-28
Code
Symbol/Operand
Multiplies 8-digit unsigned hexadecimal data and/or
*UL(423)
constants.
Md
Mr
R
Md: 1st
R + 3
multiplicand word
Mr: 1st multiplier
word
R: 1st result word
Multiplies 4-digit (single-word) BCD data and/or constants.
*B(424)
Md
Mr
R
Md: Multiplicand
word
Mr: Multiplier
word
R: Result word
Multiplies 8-digit (double-word) BCD data and/or constants.
*BL(425)
Md
Mr
R
Md: 1st
multiplicand word
Mr: 1st multiplier
word
R: 1st result word
Divides 4-digit (single-word) signed hexadecimal
/(430)
data and/or constants.
Dd
Dr
R
Dd: Dividend word
Dr: Divisor word
R: Result word
Remainder
Divides 8-digit (double-word) signed hexadecimal data
/L(431)
and/or constants.
Dd
Dr
R
Dd: 1st dividend
word
R + 3
Dr: 1st divisor
word
R: 1st result word
Divides 4-digit (single-word) unsigned hexadecimal
/U(432)
data and/or constants.
Dd
Dr
R
Dd: Dividend word
Dr: Divisor word
R: Result word
Function
Md + 1
Md
×
Mr + 1
Mr
R + 2
R + 1
R
(BCD)
Md
×
(BCD)
Mr
(BCD)
R +1
R
Md + 1
Md
×
Mr + 1
Mr
R + 3
R + 2
R + 1
R
(Signed binary)
Dd
÷
(Signed binary)
Dr
(Signed binary)
R +1
R
Quotient
Dd + 1
Dd
÷
Dr + 1
Dr
R + 2
R + 1
R
Remainder
Quotient
(Unsigned binary)
Dd
÷
(Unsigned binary)
Dr
(Unsigned binary)
R +1
R
Remainder
Quotient
Location
Output
Required
(Unsigned binary)
(Unsigned binary)
(Unsigned binary)
Output
Required
Output
Required
(BCD)
(BCD)
(BCD)
Output
Required
Output
Required
(Signed binary)
(Signed binary)
(Signed binary)
Output
Required
CJ2 CPU Unit Software User's Manual
Execution
condition

Advertisement

Table of Contents
loading

Table of Contents