Table of Contents Previous topic Next topic
ASSEMBLER DIRECTIVES->Other Assembler Directives->ORG Specifies Absolute Code Section
The ORG directive causes the statements following it to be assembled into an absolute code section. This directive remains in effect until another absolute or relocatable section is specified.
The optional expression is evaluated and the program counter is set to this value.
If no expression is present and this is the first ORG in this module, the program counter is set to zero.
If no expression is present and ORG has already been used in this module, the program counter is set to the address immediately following the last absolute section.
The optional size is either .S or .L (although the assembler does not currently make use of this information).