The syntax for coding the type is shown in the subfield format on page ***.
You must specify the type subfield. From the type specification, the assembler determines how to interpret the constant and translate it into the correct format. The type is specified by a single-letter code as shown in Table 19, the type extension as shown in Table 20.
Further information about these constants is provided in the discussion of the constants themselves under Subfield 6: Nominal Value.
| Code | Constant Type | Machine Format |
|---|---|---|
| C | Character | 8-bit code for each character |
| G | Graphic | 16-bit code for each character |
| X | Hexadecimal | 4-bit code for each hexadecimal digit |
| B | Binary | Binary format |
| F | Fixed-point | Signed, fixed-point binary format; normally a fullword |
| H | Fixed-point | Signed, fixed-point binary format; normally a halfword |
| E | Floating-point | Short floating-point format; normally a fullword |
| D | Floating-point | Long floating-point format; normally a doubleword |
| L | Floating-point | Extended floating-point format; normally two doublewords |
| P | Decimal | Packed decimal format |
| Z | Decimal | Zoned decimal format |
| A | Address | Value of address; normally a fullword |
| Y | Address | Value of address; normally a halfword |
| S | Address | Base register and displacement value; a halfword |
| V | Address | Space reserved for external symbol addresses; normally a fullword |
| J | Address | Space reserved for length of class or DXD; normally a fullword |
| Q | Address | Space reserved for external dummy section offset |
| R | Address | Space reserved for PSECT addresses; normally a fullword |
The type in conjunction with an optional type extension specification indicates to the assembler:
[ Top of Page | Previous Page | Next Page | Contents | Index ]