11.07.2015 Views

HLASM: V1R6 Language Ref

HLASM: V1R6 Language Ref

HLASM: V1R6 Language Ref

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

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

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

Terms, literals, and expressionsAssembler <strong>Language</strong> │ Address Value │ Object CodeStatements │ of Symbol │ in Hexadecimal─────────────────────────┼─────────────────┼──────────────────────────────────│ Relocatable │ ┌────── Address│ │ of AREA│ │ ┌──┬─┬─┬────┐LOAD L 3,AREA ▌1▐ LOAD ──────────┼────►│58│3│0│xxxx││ │ └──┴─┴─┴────┘│││ │ ┌───────────┐AREA DS F ▌2▐ AREA ──────────┼────►│xx x x xxxx││ ┌──────┼────►└───────────┘│ │ ││ │ │ ┌───────────┐F200 DC F’200’ ▌3▐ F200 ──────────┼────►│00 0 0 00C8││ │ ┌──┼────►└───────────┘─────────────────────────┼──────────┼───┼──┼───────────────────────────────────FULL EQU AREA │ FULL ───┘ │ │▌4▐ │ │TW00 EQU F200 │ TW00 ───────┘ │─────────────────────────┼─────────────────┼───────────────────────────────────│ Absolute │││R3 EQU 3 ▌5▐ R3=3 │ ┌────── Address│ │ of FULL│ │ ┌──┬─┬─┬────┐L R3,FULL │ │ │58│3│0│xxxx││ │ ├──┼─┼─┼────┤A R3,TW00 │ │ │5A│3│0│xxxx││ │ └──┴─┴─┴────┘│ │ Address│ │ └────── of TW00Figure 8. Transition from assembler language statement to object codeRestrictions on symbols: A symbol must be defined only once in a sourcemodule with one or more control sections, with the following exceptions:v The symbol in the name field of a CSECT, RSECT, DSECT, or COM instructioncan be the same as the name of previous CSECT, RSECT, DSECT, or COMinstruction, respectively. It identifies the resumption of the control sectionspecified by the name field.z/VM and z/OSv The symbol in the name field of a CATTR instruction can be the same as thename of a previous CATTR instruction. It identifies the resumption of the classspecified by the name field.End of z/VM and z/OSv The symbol in the name field of a LOCTR instruction can be the same as thename of a previous START, CSECT, RSECT, DSECT, COM, or LOCTRinstruction. It identifies the resumption of the location counter specified by thename field.v The symbol in the name field of a labeled USING instruction can be the same asthe name of a previous labeled USING instruction. It identifies the terminationof the domain of the previous labeled USING instruction with the specifiedname.Chapter 2. Coding and structure 31

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

Saved successfully!

Ooh no, something went wrong!