Convert to Decimal
(CVD)
General Description
Format
(RX)
Condition Code
Interrupt Action
Fixed-Point
Instructions
•
The radix of the operand specified by the first address (R
1 )
is converted
from binary to decimal notation and stored at the double-word main
memory area specified by the second address (XdBdD
2 ) .
The operand is
treated as a right-justified signed integer before and after the conversion.
o
7
8
11
12
15
16
19
20
•
Unchanged.
•
Address error:
Addressing.
Specification.
Protection.
31
Notes
•
1. The result is placed in the double-word main memory location in the
packed decimal format of 15 digits plus sign.
2. The low-order four bits of the result are the sign which is generated
according to the current decimal code, EBCDIC or USASCII.
3. The maximum binary number (32-bit signed integer) that can be
converted is (2,147,483,647) positive and (2,147,483,648) negative.
No overflow can occur.
146