Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Symbol definition HLASM Language Reference SC26-4940-06 |
|
An ordinary symbol is defined in:
Ordinary symbols can also be defined in instructions generated from model statements during conditional assembly. In Figure 1, the assembler assigns
a value to the ordinary symbol in the name entry according to the
following rules:
Figure 1. Transition from assembler language statement to
object code
Assembler Language │ Address Value │ Object Code Statements │ of Symbol │ in Hexadecimal ─────────────────────────┼─────────────────┼────────────────────────────────── │ Relocatable │ ┌────── Address │ │ V 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 │ │ V of FULL │ │ ┌──┬─┬─┬────┐ L R3,FULL │ │ │58│3│0│xxxx│ │ │ ├──┼─┼─┼────┤ A R3,TW00 │ │ │5A│3│0│xxxx│ │ │ └──┴─┴─┴────┘ │ │ ∧ Address │ │ └────── of TW00 |
Copyright IBM Corporation 1990, 2014
|