Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
RS format HLASM Language Reference SC26-4940-06 |
|
The operand fields of RS-format instructions designate two registers,
and a virtual storage address (coded as an implicit address or an
explicit address).
┌────────┬────┬────┬────┬────────────┐ │Op Code │ R₁ │ R₃ │ B₂ │ D₂ │ └────────┴────┴────┴────┴────────────┘ 0 8 12 16 20 31 In the Insert Characters under Mask (ICM) and the Store Characters
under Mask (STCM) instructions, a 4 bit mask (see X'E' and MASK in the instructions labeled DELTA1 and DELTA2 in
the examples), with a value 0 - 15, replaces the second register specifications.
┌────────┬────┬────┬────┬────────────┐ │Op Code │ R₁ │ M₃ │ B₂ │ D₂ │ └────────┴────┴────┴────┴────────────┘ 0 8 12 16 20 31 Symbols used to represent registers (see REG4, REG6, and BASE in the instruction labeled ALPHA2 in the examples) are assumed to be equated to absolute values 0 - 15. Symbols used to represent implicit addresses (see AREA and IMPLICIT in the instructions labeled BETA1 and DELTA2 in the examples) can be either relocatable or absolute. Symbols used to represent displacements (see DISPL in the instruction labeled BETA2 in the examples) in explicit addresses are assumed to be equated to absolute values 0 - 4095. Many other instruction formats are supported by the High Level Assembler. For complete information see the latest editions of z/Architecture Principles of Operation, SA22-7832 and the z/Architecture Reference Summary, SA22-7871. Examples:
When assembled, the object code for the instruction labeled ALPHA1, in hexadecimal, is:
where:
When assembled, the object code for the instruction labeled DELTA1, in hexadecimal, is:
where:
|
Copyright IBM Corporation 1990, 2014
|