EasyManua.ls Logo

Omron CP1E CPU UNIT SOFTWARE - Page 375

Omron CP1E CPU UNIT SOFTWARE
450 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
A-21
Appendices
CP1E CPU Unit Software User’s Manual(W480)
A-1 Instruction Functions
App
A-1-9 Symbol Math Instructions
SIGNED
BINARY MUL-
TIPLY
* @ Multiplies 4-digit signed hexadecimal data and/or constants.
DOUBLE
SIGNED
BINARY MUL-
TIPLY
*L @ Multiplies 8-digit signed hexadecimal data and/or constants.
BCD MULTI-
PLY
*B @ Multiplies 4-digit (single-word) BCD data and/or constants.
DOUBLE BCD
MULTIPLY
*BL @ Multiplies 8-digit (double-word) BCD data and/or constants.
SIGNED
BINARY
DIVIDE
/ @ Divides 4-digit (single-word) signed hexadecimal data and/or con-
stants.
DOUBLE
SIGNED
BINARY
DIVIDE
/L @ Divides 8-digit (double-word) signed hexadecimal data and/or con-
stants.
BCD DIVIDE /B @ Divides 4-digit (single-word) BCD data and/or constants.
Instruction Mnemonic Variations Symbol/Operand Function
*(420)
Md
Mr
R
Md: Multiplicand word
Mr: Multiplier word
R: Result word
Md
Mr
R +1 R
(Signed binary)
(Signed binary)
(Signed binary)
×
*L(421)
Md
Mr
R
Md: 1st multiplicand word
Mr: 1st multiplier word
R: 1st result word
Md + 1
Mr + 1
R + 1 RR + 3 R + 2
Md
Mr
(Signed binary)
(Signed binary)
(Signed binary)
×
*B(424)
Md
Mr
R
Md: Multiplicand word
Mr: Multiplier word
R: Result word
Md
Mr
R +1 R
(BCD)
(BCD)
(BCD)
×
*BL(425)
Md
Mr
R
Md: 1st multiplicand word
Mr: 1st multiplier word
R: 1st result word
Md + 1
Mr + 1
R + 1 RR + 3 R + 2
(BCD)
(BCD)
(BCD)
Md
Mr
×
/(430)
Dd
Dr
R
Dd: Dividend word
Dr: Divisor word
R: Result word
Dd
Dr
R +1 R
÷
Remainder Quotient
(Signed binary)
(Signed binary)
(Signed binary)
/L(431)
Dd
Dr
R
Dd: 1st dividend word
Dr: 1st divisor word
R: 1st result word
Dd + 1
Dr + 1
R + 1 RR + 3 R + 2
÷
Dd
Dr
Remainder Quotient
(Signed binary)
(Signed binary)
(Signed binary)
/B(434)
Dd
Dr
R
Dd: Dividend word
Dr: Divisor word
R: Result word
Dd
Dr
R +1 R
÷
(BCD)
(BCD)
(BCD)
Remainder Quotient

Table of Contents

Related product manuals