HLASM Language Reference
HLASM Language Reference HLASM Language Reference
RSECT Instruction 4. AMODE or RMODE cannot be specified for an unnamed common control section. 5. The defaults used when zero or one MODE is specified are shown in the following table. Note that combinations involving AMODE 64 and RMODE 64 are subject to the support outlined in “64-bit Addressing Mode” on page 101. Figure 59. AMODE/RMODE Defaults Specified Default Neither AMODE 24,RMODE 24 AMODE 24 RMODE 24 AMODE 31 RMODE 24 AMODE ANY|ANY31 RMODE 24 RMODE 24 AMODE 24 RMODE 31 (was ANY) AMODE 31 AMODE 64 RMODE 31 RMODE 64 AMODE 64 RSECT Instruction The RSECT instruction initiates a read-only executable control section or indicates the continuation of a read-only executable control section. ►►──┬────────┬──RSECT──────────────────────────────────────────────►◄ └─symbol─┘ symbol is one of the following: An ordinary symbol A variable symbol that has been assigned a character string with a value that is valid for an ordinary symbol A sequence symbol When an executable control section is initiated by the RSECT instruction, the assembler automatically checks the control section for possible coding violations of program reenterability, regardless of the setting of the RENT assembler option. As the assembler cannot check program logic, the checking is not exhaustive. Non-reentrant code is diagnosed by a warning message. The RSECT instruction can be used anywhere in a source module after the ICTL instruction. If it is used to initiate the first executable control section, it must not be preceded by any instruction that affects the location counter and thereby causes the first control section to be initiated. If symbol denotes an ordinary symbol, the ordinary symbol identifies the control section. If several RSECT instructions within a source module have the same symbol in the name field, the first occurrence initiates the control section and the 212 HLASM V1R5 Language Reference
SPACE Instruction rest indicate the continuation of the control section. The ordinary symbol denoted by symbol represents the address of the first byte in the control section, and has a length attribute value of 1. If symbol is not specified, or if name is a sequence symbol, the RSECT instruction initiates or indicates the continuation of the unnamed control section. See “CSECT Instruction” on page 123 for a discussion on the interaction between RSECT and the GOFF assembler option. | The beginning of a control section is aligned on a boundary determined by the | SECTALGN option. However, when an interrupted control section is continued using the RSECT instruction, the location counter last specified in that control section is continued. The source statements following a RSECT instruction that either initiate or indicate the continuation of a control section are assembled into the object code of the control section identified by that RSECT instruction. Notes: 1. The assembler indicates that a control section is read-only by setting the read-only attribute in the object module. 2. The end of a control section or portion of a control section is marked by (a) any instruction that defines a new or continued control section, or (b) the END instruction. SPACE Instruction The SPACE instruction inserts one or more blank lines in the listing of a source module. This separates sections of code on the listing page. ►►──┬─────────────────┬──SPACE──┬─────────────────┬────────────────►◄ └─sequence_symbol─┘ └─number_of_lines─┘ sequence_symbol is a sequence symbol. number_of_lines is an absolute expression that specifies the number of lines to be left blank. You may use any absolute expression to specify number_of_lines. If number_of_lines is omitted, one line is left blank. If number_of_lines has a value greater than the number of lines remaining on the listing page, the instruction has the same effect as an EJECT statement. The SPACE statement itself is not printed in the listing unless a variable symbol is specified as a point of substitution in the statement, in which case the statement is printed before substitution occurs. Chapter 5. Assembler Instruction Statements 213
- Page 182 and 183: DC Instruction—Hexadecimal Floati
- Page 184 and 185: DC Instruction—Hexadecimal Floati
- Page 186 and 187: DC Instruction—Hexadecimal Floati
- Page 188 and 189: DC Instruction—Binary Floating-Po
- Page 190 and 191: DC Instruction—Binary Floating-Po
- Page 192 and 193: DROP Instruction DROP Instruction T
- Page 194 and 195: DS Instruction USING DSECTA,14 ALBL
- Page 196 and 197: DS Instruction The size of a storag
- Page 198 and 199: DSECT Instruction DSECT Instruction
- Page 200 and 201: DXD Instruction ASEMBLY2 CSECT USIN
- Page 202 and 203: END Instruction change but no addit
- Page 204 and 205: EQU Instruction EQU Instruction The
- Page 206 and 207: EQU Instruction 5. The length attri
- Page 208 and 209: EXITCTL Instruction sequence_symbol
- Page 210 and 211: ISEQ Instruction must be greater th
- Page 212 and 213: LOCTR Instruction A CSECT , See not
- Page 214 and 215: LTORG Instruction If symbol is an o
- Page 216 and 217: MNOTE Instruction When two literals
- Page 218 and 219: OPSYN Instruction ,ERROR, SEV 1 An
- Page 220 and 221: ORG Instruction AFTER is defined in
- Page 222 and 223: ORG Instruction If you specify mult
- Page 224 and 225: POP Instruction POP Instruction The
- Page 226 and 227: PRINT Instruction Note: If the next
- Page 228 and 229: Process Statement Process Statement
- Page 230 and 231: REPRO Instruction NOPRINT instructs
- Page 234 and 235: START Instruction START Instruction
- Page 236 and 237: TITLE Instruction The name value is
- Page 238 and 239: USING Instruction Only the characte
- Page 240 and 241: USING Instruction Base Registers fo
- Page 242 and 243: USING Instruction If register 0 is
- Page 244 and 245: USING Instruction A variable symbo
- Page 246 and 247: USING Instruction In this MVC instr
- Page 248 and 249: USING Instruction Range of a Depend
- Page 250 and 251: XATTR Instruction external_symbol i
- Page 252 and 253: XATTR Instruction SCOPE ►►─
- Page 254 and 255: XATTR Instruction 234 HLASM V1R5 La
- Page 256 and 257: Part 3. Macro Language &SYSDATC Sys
- Page 258 and 259: Introduction to Macro Language Chap
- Page 260 and 261: Introduction to Macro Language The
- Page 262 and 263: Introduction to Macro Language Macr
- Page 264 and 265: MACRO and MEND Statements The assem
- Page 266 and 267: Prototype Statement Macros that are
- Page 268 and 269: Model Statements generated from tha
- Page 270 and 271: Model Statements ▌5▐ ▌6▐
- Page 272 and 273: Model Statements Notes: 1. You can
- Page 274 and 275: Positional Parameters Symbolic para
- Page 276 and 277: Processing Statements Processing St
- Page 278 and 279: AREAD Instruction Assign Local Time
- Page 280 and 281: COPY Instruction sequence_symbol is
SPACE Instruction<br />
rest indicate the continuation of the control section. The ordinary symbol denoted<br />
by symbol represents the address of the first byte in the control section, and has a<br />
length attribute value of 1.<br />
If symbol is not specified, or if name is a sequence symbol, the RSECT instruction<br />
initiates or indicates the continuation of the unnamed control section.<br />
See “CSECT Instruction” on page 123 for a discussion on the interaction between<br />
RSECT and the GOFF assembler option.<br />
| The beginning of a control section is aligned on a boundary determined by the<br />
| SECTALGN option. However, when an interrupted control section is continued<br />
using the RSECT instruction, the location counter last specified in that control<br />
section is continued.<br />
The source statements following a RSECT instruction that either initiate or indicate<br />
the continuation of a control section are assembled into the object code of the<br />
control section identified by that RSECT instruction.<br />
Notes:<br />
1. The assembler indicates that a control section is read-only by setting the<br />
read-only attribute in the object module.<br />
2. The end of a control section or portion of a control section is marked by (a) any<br />
instruction that defines a new or continued control section, or (b) the END<br />
instruction.<br />
SPACE Instruction<br />
The SPACE instruction inserts one or more blank lines in the listing of a source<br />
module. This separates sections of code on the listing page.<br />
►►──┬─────────────────┬──SPACE──┬─────────────────┬────────────────►◄<br />
└─sequence_symbol─┘<br />
└─number_of_lines─┘<br />
sequence_symbol<br />
is a sequence symbol.<br />
number_of_lines<br />
is an absolute expression that specifies the number of lines to be left blank.<br />
You may use any absolute expression to specify number_of_lines. If<br />
number_of_lines is omitted, one line is left blank. If number_of_lines has a<br />
value greater than the number of lines remaining on the listing page, the<br />
instruction has the same effect as an EJECT statement.<br />
The SPACE statement itself is not printed in the listing unless a variable symbol is<br />
specified as a point of substitution in the statement, in which case the statement is<br />
printed before substitution occurs.<br />
Chapter 5. Assembler Instruction Statements 213