11.07.2015 Views

HLASM: V1R6 Language Ref

HLASM: V1R6 Language Ref

HLASM: V1R6 Language Ref

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

DC instruction—Hexadecimal constantTable 25. Hexadecimal constantsSubfield Value Example Result1. Duplication factor Allowed2. Type X3. Type Extension Not allowed4. Program type Allowed5. ModifiersImplicit length:(length modifiernot present)Alignment:As needed X DC X’FF00A2’Y DC X’F00A2’ByteRange for length: 1 to 256(byte length)L'X = 3 ▌2▐L'Y = 3 ▌2▐.1 to .2048(bit length)Range for scale: Not allowedRange for exponent: Not allowed6. Nominal valueRepresented by: Hexadecimaldigits(0 to 9 andA to F)DCDCX’1F’X’91F’Object codeX'1F' ▌1▐X'091F' ▌3▐Enclosed by: Single quotationmarksExponent allowed: NoNumber of valuesper operand:MultiplePadding: With zeros at leftTruncation ofassembled value:At leftFixed-point constants—F and HFixed-point constants let you introduce data that is in a form suitable for thearithmetic operations of the binary fixed-point machine instructions. The constantsyou define can also be automatically aligned to the correct doubleword, fullwordor halfword boundary for the instructions that refer to addresses on theseboundaries (unless the NOALIGN option has been specified; see “Generalinformation about constants” on page 127). You can do algebraic operations usingthis type of constant because they can have positive or negative values.|||A fixed-point constant is written as a decimal number, which can be followed by adecimal exponent. The format of the constant is as follows:1. The nominal value can be a signed or unsigned (see ▌1▐ in Table 26 on page147) integer, fraction, or mixed number (see ▌2▐ Table 26) followed by a signedexponent (see ▌3▐ in Table 26). If a sign is not specified for either the number orexponent, + is assumed. To generate unsigned data, precede the numeric valuewith the letter U; signs are not allowed.146 <strong>HLASM</strong>: <strong>V1R6</strong> <strong>Language</strong> <strong>Ref</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!