45
2
3
4
5
6
7
8
2.4 Basic instructions
2.4.3 Data conversion instructions
*1: The number of basic steps is two for the Universal model QCPU and LCPU only.
*2: The subset is effective only with Universal model QCPU and LCPU.
Category
Instruction Symbol
Symbol Processing Details
Execution
Condition
Number of Basic Steps
Subset
See for Description
Floating point
BIN
conversions
(Single
precision)
INT
3
*1
*2
Page
238
INTP
DINT
3
*1
*2
DINTP
Floating point
BIN
conversions
(Double
precision)
INTD
3
*2
Page
240
INTDP
DINTD
3
*2
DINTDP
BIN
16-bit
32-bit
conversion
DBL
3-
Page
242
DBLP
WORD
3-
Page
243
WORDP
BIN
Gray code
conversions
GRY
3-
Page
244
GRYP
DGRY
3-
DGRYP
Gray code
BIN
conversions
GBIN
3-
Page
245
GBINP
DGBIN
3-
DGBINP
INT SD
(S+1, S) (D)
Real number (-32768 to 32767)
Conversion to BIN
INTP SD
DINT SD
(S+1, S) (D+1, D)
Real number (-2147483648 to
2147483647)
Conversion to BIN
DINTP SD
INTD S D
(S+3, S+2, S+1, S)
Conversion to BIN
(D)
Real number (-32768 to 32767)
INTDP S D
DINTD S D
(S+3, S+2, S+1, S)
Conversion to BIN
(D+1, D
Real number (-2147483648 to
2147483647)
DINTDP S D
DBL SD
(S)
Conversion
(D+1, D)
BIN (-32768 to 32767)
DBLP SD
WORD SD
(S+1, S)
Conversion
(D)
BIN (-32768 to 32767)
WORDP SD
GRY SD
(S) (D)
BIN (-32768 to 32767)
Conversion to gray code
GRYP SD
DGRY SD
(S+1, S) (D+1, D)
BIN (-2147483648 to
2147483647
)
Conversion to gray code
DGRYP SD
GBIN SD
(S) (D)
Gray code (-32768 to 32767)
Conversion to BIN data
GBINP SD
DGBIN SD
(S+1, S) (D+1, D)
Gray code (-2147483648 to
2147483647)
Conversion to BIN data
DGBINP SD