![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030096.webp)
56
Instruction Functions
Section 2-2
2-2-10 Conversion Instructions
DOUBLE
UNSIGNED
BINARY DIVIDE
/UL
@/UL
433
Output
Required
477
BCD DIVIDE
/B
@/B
434
Output
Required
479
DOUBLE BCD
DIVIDE
/BL
@/BL
435
Output
Required
481
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Page
BCD TO BINARY
BIN
@BIN
023
Output
Required
483
DOUBLE BCD TO
DOUBLE
BINARY
BINL
@BINL
058
Output
Required
485
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Page
/UL(433)
R
Dd
Dr
Dd: 1st dividend
word
Dr: 1st divisor
word
R: 1st result word
R + 1
R
R + 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
/B(434)
R
Dd
Dr
Dd
:
Dividend
word
Dr
:
Divisor word
R
:
Result word
R +1 R
(BCD)
(BCD)
(BCD)
÷
Dd
Dr
Remainder
Divides 4-digit (single-word) BCD data and/or constants.
Quotient
/BL(435)
R
Dd
Dr
Dd
:
1st dividend
word
Dr
:
1st divisor
word
R
:
1st result word
R + 1
R
R + 3
R + 2
(BCD)
(BCD)
(BCD)
÷
Dd + 1
Dr + 1
Remainder
Dr
Dd
Divides 8-digit (double-word) BCD data and/or constants.
Quotient
BIN(023)
S
R
S
: Source word
R
: Result word
(BCD)
(BIN)
R
Converts BCD data to binary data.
BINL(058)
S
R
S
: 1st source
word
R
: 1st result word
(BCD)
(BIN)
(BCD)
(BIN)
R
R+1
Converts 8-digit BCD data to 8-digit hexadecimal (32-bit binary) data.
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...