63
CS/CJ/NSJ Series Instructions Reference Manual (W474)
2. Summary of Instructions
2-2 Instruction Functions
2
2-2-9 Symbol Math Instructions
DOUBLE BCD
MULTIPLY
*BL
@*BL
425
Output
Required
374
SIGNED BINARY
DIVIDE
/
@/
430
Output
Required
376
DOUBLE
SIGNED BINARY
DIVIDE
/L
@/L
431
Output
Required
376
UNSIGNED
BINARY DIVIDE
/U
@/U
432
Output
Required
378
DOUBLE
UNSIGNED
BINARY DIVIDE
/UL
@/UL
433
Output
Required
378
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution
condition
Page
*BL(425)
R
Md
Mr
Md: 1st
multiplicand word
Mr: 1st multiplier
word
R: 1st result word
R+1 RR+3 R+2
(BCD)
(BCD)
(BCD)
×
Md+1 Md
Mr+1 Mr
Multiplies 8-digit (double-word) BCD data and/or constants.
/(430)
R
Dd
Dr
Dd: Dividend wor
Dr: Divisor word
R: Result word
Dd
Dr
R+1 R
÷
Remainder Quotient
(Signed binary)
(Signed binary)
(Signed binary)
Divides 4-digit (single-word) signed hexadecimal data and/or
constants.
/L(431)
R
Dd
Dr
Dd: 1st dividend
word
Dr: 1st divisor
word
R: 1st result word
R+1 RR+3 R+2
÷
Dd+1 Dd
Dr+1 Dr
QuotientRemainder
(Signed binary)
(Signed binary)
(Signed binary)
Divides 8-digit (double-word) signed hexadecimal data and/or
constants.
/U(432)
R
Dd
Dr
Dd: Dividend
word
Dr: Divisor word
R: Result word
R+1 R
÷
Dd
Dr
Remainder Quotient
(Unsigned binary)
(Unsigned binary)
(Unsigned binary)
Divides 4-digit (single-word) unsigned hexadecimal data and/or
constants.
/UL(433)
R
Dd
Dr
Dd: 1st dividend
word
Dr: 1st divisor
word
R: 1st result word
R + 1 RR + 3 R + 2
÷
Dd + 1
Dr + 1
Remainder
Divides 8-digit (double-word) unsigned hexadecimal data and/or
constants.
(Unsigned binary)
(Unsigned binary)
(Unsigned binary)
Dd
Dr
Quotient