256
Section 3: Assembler
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
REORG — Reset the Location Counter in an Absolute Section
Syntax
REORG
address
Description
address
Specifies the address at which the current section will continue. It
is an absolute expression that cannot contain any forward,
external, or undefined references.
The
REORG
directive resets the location counter in an absolute section. The
continuation address
address
must be greater than the current value of the
section’s location counter; any space that is created is filled with the current fill
value (see
OPT FILLVAL
), unless the section is of BSS-type.
Examples
ORG.L $8000
MOVE.L #$5000,D0
REORG $C000
BSECTION tbl,$1000
MOVE.L #$1200,D1
REORG $8000
As the second example illustrates, the
REORG
directive can be applied to any
absolute section, regardless of its declaration.