11.07.2015 Views

HLASM: V1R6 Language Ref

HLASM: V1R6 Language Ref

HLASM: V1R6 Language Ref

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

LOCTR instructionA LOCTR name may be referenced as an ordinary symbol. If the LOCTR namedoes not match a section name, its value is the location counter value assigned toits first appearance, and it may have arbitrary alignment and other attributes. If theLOCTR name is also a control section name, the value assigned is that of the originof the control section. So a LOCTR with the same name as the CSECT will resumethe first location counter within the CSECT. A CSECT instruction will resume thelast location counter used.Table 35. LOCTR behavior with NOGOFF optionLOCTRnameEffectSection Resumes assembling with the first location counter of that sectionOther v If the LOCTR name was previously declared, resumes assembling with thelocation counter of that LOCTR groupv If the LOCTR name was not previously declared, begins processing a newLOCTR group of statements to be assembled following the most recentlyprocessed section or LOCTR groupTable 36. LOCTR behavior with GOFF optionLOCTRnameEffectSection Resumes assembling with the first location counter of the element in theB_TEXT class of that sectionClass Not allowedPart Resumes assembling with the first location counter of the partOther v If the LOCTR name was previously declared, resumes assembling with thelocation counter of that LOCTR groupv If the LOCTR name was not previously declared, begins processingstatements in a new LOCTR group to be assembled following the mostrecently processed class, part, or LOCTR group.LTORGinstructionUse the LTORG instruction so that the assembler can collect and assemble literalsinto a literal pool. A literal pool contains the literals you specify in a sourcemodule either after the preceding LTORG instruction, or after the beginning of thesource module.If a control section has not been established, LTORG will initiate an unnamed(private) control section.►►symbolLTORG►◄symbolis one of the following:v An ordinary symbolv A variable symbol that has been assigned a character string with a value thatis valid for an ordinary symbol192 <strong>HLASM</strong>: <strong>V1R6</strong> <strong>Language</strong> <strong>Ref</strong>

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

Saved successfully!

Ooh no, something went wrong!