Addressing considerations
If you specify literals in source modules with multiple control
sections, you should:
- Write a LTORG instruction at the end of each control section, so that
all the literals specified in the section are assembled into the one
literal pool for that section. If a control section is divided and
interspersed among other control sections, you should write a LTORG
instruction at the end of each segment of the interspersed control
section.
- When establishing the addressability of each control section, make
sure (a) that all of the literal pool for that section is also
addressable, by including it within a USING range, and (b) that the
literal specifications are within the corresponding USING domain. The
USING range and domain are described in USING instruction.
All the literals specified after the last LTORG instruction, or,
if no LTORG instruction is specified, all the literals in a source
module are assembled into a literal pool at the end of the first control
section. You must then make this literal pool addressable, along with
the addresses in the first control section. This literal pool is
printed in the program listing after the END instruction.
[ Top of Page | Previous Page | Next Page | Contents | Index ]