72
Instruction Support and Operand Restrictions
Section 2-6
2-6-10 Conversion Instructions
DOUBLE BCD
DIVIDE
/BL
@/BL
435
Dd: 1st dividend
word
DWORD
---
Dr: 1st divisor word DWORD
---
R: 1st result word
LWORD
Yes (2)
DWORD
must be
used
when
array vari-
ables are
required.
Instruction
Mnemonic
Function
code
Symbol
Operands
Supported
variable
data types
AT
setting or
array
variable
required
(Required
word data
size
shown in
parenthe-
ses.)
BCD-TO-BINARY
BIN
@BIN
023
S: Source word
WORD
---
R: Result word
UINT
---
DOUBLE BCD-TO-
DOUBLE BINARY
BINL
@BINL
058
S: 1st source word
DWORD
---
R: 1st result word
UDINT
---
BINARY-TO-BCD
BCD
@BCD
024
S: Source word
UINT
---
R: Result word
WORD
---
DOUBLE BINARY-
TO-DOUBLE BCD
BCDL
@BCDL
059
S: 1st source word
UDINT
---
R: 1st result word
DWORD
---
2’S COMPLEMENT
NEG
@NEG
160
S: Source word
WORD
---
R: Result word
UINT
---
Instruction
Mnemonic
Function
code
Symbol
Operands
Supported
variable
data types
AT
setting or
array
variable
required
(Required
word data
size
shown in
parenthe-
ses.)
/BL
Dd
Dr
R
BIN
S
R
BINL
S
R
BCD
S
R
BCDL
S
R
NEG
S
R
Summary of Contents for CS1-H Series
Page 3: ...iv...
Page 5: ...vi...
Page 7: ...viii TABLE OF CONTENTS...
Page 15: ...xvi Application Precautions 4...
Page 151: ...136 Procedures Section 3 2...
Page 153: ...138 Data Types Appendix A...
Page 177: ...162 External Variables Appendix C...
Page 181: ...166 Revision History...