![Omron CJ1G-CPUxx Instructions Manual Download Page 74](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_742491074.webp)
53
Instruction Functions
Section 2-2
2-2-10 Conversion Instructions
DOUBLE
UNSIGNED
BINARY DIVIDE
/UL
@/UL
433
Output
Required
BCD DIVIDE
/B
@/B
434
Output
Required
DOUBLE BCD
DIVIDE
/BL
@/BL
435
Output
Required
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Page
BCD-TO-BINARY
BIN
@BIN
023
Output
Required
DOUBLE BCD-
TO-DOUBLE
BINARY
BINL
@BINL
058
Output
Required
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Page
Dd: 1st dividend
word
Dr: 1st divisor
word
R: 1st result word
/UL(433)
Dd
Dr
R
Divides 8-digit (double-word) unsigned hexadecimal data and/or
constants.
Dd + 1
Dd
Dr + 1
Dr
R + 1
R
R + 3
R + 2
(Unsigned binary)
(Unsigned binary)
(Unsigned binary)
÷
Remainder Quotient
Dd: Dividend
word
Dr: Divisor word
R: Result word
/B(434)
Dd
Dr
R
Divides 4-digit (single-word) BCD data and/or constants.
Dd
Dr
R +1 R
÷
(BCD)
(BCD)
(BCD)
Remainder Quotient
Dd: 1st dividend
word
Dr: 1st divisor
word
R: 1st result word
/BL(435)
Dd
Dr
R
Divides 8-digit (double-word) BCD data and/or constants.
Dd + 1
Dd
Dr + 1
Dr
R + 1
R
R + 3
R + 2
(BCD)
(BCD)
(BCD)
÷
Remainder Quotient
S: Source word
R: Result word
BIN(023)
S
R
(BCD)
(BIN)
R
Converts BCD data to binary data.
S: 1st source
word
R: 1st result word
BINL(058)
S
R
(BCD)
(BIN)
(BCD)
(BIN)
R
R+1
Converts 8-digit BCD data to 8-digit hexadecimal (32-bit binary) data.
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...