Sets the value of the current location counter.
.org | Expression |
The .org pseudo-op sets the value of the current location counter to Expression. This pseudo-op can also decrement a location counter. The assembler is control section (csect) oriented; therefore, absolute expressions or expressions that cause the location counter to go outside of the current csect are not allowed.
Expression | Represents the value of the current location counter. |
The following example illustrates the use of the .org pseudo-op:
# Assume assembler location counter is 0x114. .org $+100 #Skip 100 decimal byte (0x64 bytes). . . # Assembler location counter is now 0x178.
The .space pseudo-op.