22.02.2015 Views

HLASM Language Reference

HLASM Language Reference

HLASM Language Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

RMODE Instruction<br />

RMODE Instruction<br />

The RMODE instruction specifies the residence mode to be associated with control<br />

sections in the object deck.<br />

►►──┬──────┬──RMODE──┬─24──┬───────────────────────────────────────►◄<br />

└─name─┘<br />

├ ─31──┤<br />

├─64──┤<br />

└─ANY─┘<br />

name<br />

is the name field that associates the residence mode with a control section. If<br />

there is a symbol in the name field, it must also appear in the name field of a<br />

START, CSECT, RSECT, or COM instruction in this assembly. If the name<br />

field is space-filled, there must be an unnamed control section in this assembly.<br />

If the name field contains a sequence symbol (see “Symbols” on page 29 for<br />

details), it is treated as a blank name field.<br />

24 specifies that a residence mode of 24 is to be associated with the control<br />

section; that is, the control section must be resident below 16 megabytes.<br />

31 specifies that a residence mode of either 24 or 31 is to be associated with the<br />

control section; that is, the control section can be resident above or below 16<br />

megabytes.<br />

64 Specifies that a residence mode of 64 is to be associated with the control<br />

section (see “64-bit Addressing Mode” on page 101).<br />

ANY<br />

is understood to mean RMODE 31.<br />

Any field of this instruction may be generated by a macro, or by substitution in open<br />

code.<br />

Notes:<br />

1. RMODE can be specified anywhere in the assembly. It does not initiate an<br />

unnamed control section.<br />

2. An assembly can have multiple RMODE instructions; however, two RMODE<br />

instructions cannot have the same name field.<br />

3. The valid and invalid combinations of AMODE and RMODE are shown in the<br />

following table. Note that combinations involving AMODE 64 and RMODE 64<br />

are subject to the support outlined in “64-bit Addressing Mode” on page 101.<br />

Figure 58. AMODE/RMODE Combinations<br />

RMODE 24 RMODE 31 RMODE 64<br />

AMODE 24 OK invalid invalid<br />

AMODE 31 OK OK invalid<br />

AMODE ANY|ANY31 OK OK invalid<br />

AMODE 64 OK OK OK<br />

Chapter 5. Assembler Instruction Statements 211

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

Saved successfully!

Ooh no, something went wrong!