Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
RSI format HLASM Language Reference SC26-4940-06 |
|
The operand fields of RSI-format instructions designate two registers
and a 16 bit immediate operand.
┌────────┬────┬────┬─────────────────┐ │Op Code │ R₁ │ R₃ │ I₂ │ └────────┴────┴────┴─────────────────┘ 0 8 12 16 31 Symbols used to represent registers (see REG1 in the examples) are assumed to be equated to absolute values 0 - 15. The immediate value is treated as a signed binary integer representing the number of halfwords to branch relative to the current location. The branch target can be specified as a label in which case the assembler calculates the immediate value and performs some checking of the value. The branch target can also be specified as an absolute value in which case the assembler issues a warning before it assembles the instruction. Examples:
When assembled, the object code for the instruction labeled ALPHA1,
in hexadecimal, is
where:
|
Copyright IBM Corporation 1990, 2014
|