Appendices
Instruction
Mnemonic
DOUBLE BCD
/BL
DIVIDE
A-1-10
Conversion Instructions
Instruction
Mnemonic
BCD-TO-BINA
BIN
RY
DOUBLE
BINL
BCD-TO-DOU-
BLE BINARY
BINARY-TO-
BCD
BCD
DOUBLE
BCDL
BINARY-TO-
DOUBLE BCD
2'S COMPLE-
NEG
MENT
A-22
Variations
Symbol/Operand
@
/BL(435)
Dd
Dr
R
Dd: 1st dividend word
Dr: 1st divisor word
R: 1st result word
Variations
Symbol/Operand
@
BIN(023)
S
R
S: Source word
R: Result word
@
BINL(058)
S
R
S: 1st source word
R: 1st result word
@
BCD(024)
S
R
S: Source word
R: Result word
@
BCDL(059)
S
R
S: 1st source word
R: 1st result word
@
NEG(160)
S
R
S: Source word
R: Result word
Function
Divides 8-digit (double-word) BCD data and/or constants.
Dd + 1
÷
Dr + 1
R + 3
R + 2
R + 1
Remainder
Quotient
Function
Converts BCD data to binary data.
(BCD)
R
Converts 8-digit BCD data to 8-digit hexadecimal (32-bit binary)
data.
(BCD)
R
R+1
(BCD)
Converts a word of binary data to a word of BCD data.
(BIN)
R
Converts 8-digit hexadecimal (32-bit binary) data to 8-digit BCD
data.
(BIN)
R
(BIN)
R+1
Calculates the 2's complement of a word of hexadecimal data.
2's complement
(Complement + 1)
(S)
(R)
CP1E CPU Unit Software User's Manual(W480)
(BCD)
Dd
(BCD)
Dr
R
(BCD)
(BIN)
(BIN)
(BIN)
(BCD)
(BCD)
(BCD)
Need help?
Do you have a question about the CP1E CPU UNIT SOFTWARE and is the answer not in the manual?
Questions and answers