|
|||||||||||
|
Technical Support On-Line Manuals Assembler User Guide |
Assembler User GuideInstruction and directive relocations
A relocation is a directive embedded in the object file that enables source code to refer to a label whose target address is unknown or cannot be calculated at assembly time. The assembler will emit a relocation in the object file, and the linker resolves this to the address where the target is placed. The assembler relocates the data directives The The assembler is permitted to emit a relocation for these instructions:
The assembler emits a relocation for the instructions listed above if the label used meets any of the following requirements, as appropriate for the instruction type:
For
NoteThe IMPORT sym ; sym is an external symbol DCW sym ; Because DCW only outputs 16 bits, only the lower 16 bits ; of the address of sym are inserted at link-time. | ||||||||||
|
|||||||||||