2-23
2
3
4
4
6
7
8
2.4 Basic instructions
2.4.3 Data conversion instructions
Table 2.12 Data Conversion Instructions (Continued)
Category
Instruction Symbol
Symbol Processing Details Execution
Condition
Number of Basic Steps
Subset
See for Description
BIN
16-bit
32-bit
conversion
DBL
3 - 6-88
DBLP
WORD
3 - 6-89
WORDP
BIN
Gray code
conversions
GRY
3-
6-90
GRYP
DGRY
3-
DGRYP
Gray code
BIN
conversions
GBIN
3-
6-92
GBINP
DGBIN
3-
DGBINP
Complement
to 2
NEG
2-
6-94
NEGP
DNEG
2-
DNEGP
ENEG
2 - 6-96
ENEGP
EDNEG
3 - 6-97
EDNEGP
Block
conversion
BKBCD • Batch converts BIN data n points from (S)
to BCD data and stores the result from (D)
onward.
4 - 6-98
BKBCDP
BKBIN •Batch converts BCD data n points from (S)
to BIN data and stores the result from (D)
onward.
4 - 6-100
BKBINP
Floating-point
Single precision
Double precision
ECON
3 - 6-102
ECONP
Floating-point
Double precision
Single precision
EDCON
3 - 6-104
EDCONP
DBLSD
(S) Conversion(D+1, D)
BIN (-32768 to 32767)
DBLPSD
WORD SD
(S+1, S) Conversion(D)
BIN (-32768 to 32767)
WORDP SD
GRYSD
(S) (D)
BIN (-32768 to 32767)
Conversion to gray code
GRYPSD
DGRYSD
(S+1, S) (D+1, D)
BIN (-2147483648 to
2147483647)
Conversion to gray code
DGRYPSD
GBIN SD
(S) (D)
Gray code (-32768 to 32767)
Conversion to BIN data
GBINPSD
DGBIN SD
(S+1, S) (D+1, D)
Gray code (-2147483648 to
2147483647)
Conversion to BIN data
DGBINPSD
NEG D(D) (D
)
BIN data
NEGP D
DNEG D(D+1, D) (D+1, D)
BIN data
DNEGP D
ENEG D
Real number data
(D+1, D) (D+1, D)
ENEGP D
EDNEGD(D+3, D+2, D+1, D)(D+3, D+2, D+1, D)
Real number data
EDNEGPD
BKBCD nSD
BKBCDP nSD
BKBIN nSD
BKBINPnSD
ECONSD
(S+1, S)
Conversion to double precision
(D+3, D+2, D+1, D)
32-bit floating-point real number
ECONP S D
EDCONSD
(S+3, S+2, S+1, S)
Conversion to single precision
(D+1, D)
64-bit floating-point real numbe
r
EDCONP S D