Instruction Functions
Instruction
Symbol/Operand
Mnemonic
Code
DOUBLE
/UL(433)
UNSIGNED
BINARY DIVIDE
/UL
@/UL
433
Dd: 1st dividend
word
Dr: 1st divisor
word
R: 1st result word
BCD DIVIDE
/B(434)
/B
@/B
434
Dd: Dividend
word
Dr: Divisor word
R: Result word
DOUBLE BCD
/BL(435)
DIVIDE
/BL
@/BL
435
Dd: 1st dividend
word
Dr: 1st divisor
word
R: 1st result word
2-2-10 Conversion Instructions
Instruction
Symbol/Operand
Mnemonic
Code
BCD TO BINARY
BIN(023)
BIN
@BIN
023
S: Source word
R: Result word
DOUBLE BCD TO
BINL(058)
DOUBLE
BINARY
BINL
@BINL
058
S: 1st source
word
R: 1st result word
56
Divides 8-digit (double-word) unsigned hexadecimal data and/or
constants.
Dd
Dr
R
R + 3
R + 2
Remainder
Divides 4-digit (single-word) BCD data and/or constants.
Dd
Dr
÷
R
R +1
Remainder
Divides 8-digit (double-word) BCD data and/or constants.
Dd
Dr
÷
R
R + 3
Remainder
Converts BCD data to binary data.
S
(BCD)
R
Converts 8-digit BCD data to 8-digit hexadecimal (32-bit binary) data.
S
(BCD)
R
(BCD)
Function
(Unsigned binary)
Dd + 1
Dd
(Unsigned binary)
Dr + 1
Dr
R + 1
R
(Unsigned binary)
Quotient
(BCD)
Dd
(BCD)
Dr
(BCD)
R
Quotient
Dd
Dd + 1
Dr
Dr + 1
R + 2
R + 1
R
Quotient
Function
(BIN)
R
(BIN)
R
R+1
(BIN)
Section 2-2
Location
Execution
condition
Output
Required
Output
Required
Output
Required
(BCD)
(BCD)
(BCD)
Location
Execution
condition
Output
Required
Output
Required
Page
478
480
482
Page
484
486
Need help?
Do you have a question about the SYSMAC CJ - REFERENCE MANUAL 01-2008 and is the answer not in the manual?
Questions and answers