
Assembler Significant Characters And Directives
Assembler Directives
6-80
DSP ASSEMBLER REFERENCE MANUAL
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
<lms>
Which memory space (X, Y, L, P, or E) will be used as the load memory
space. If the memory space is
L
, any allocated datum with a value greater
than the target word size will be extended to two words; otherwise, it is trun-
cated. If the memory space is
E
, then depending on the memory space qual-
ifier, any generated words will be split into bytes, one byte per word, or a 16/
8-bit combination.
<llc>
Which load counter, H, L, or default (if neither H or L is specified), that is as-
sociated with the <lms> will be used as the load location counter.
<lmp>
Indicates the load physical mapping to DSP memory: I - internal, E - exter-
nal, R - ROM, A - port A, B - port B. If not present, no explicit mapping is
done.
<lce>
Non-negative absolute integer expression representing the counter number
to be used as the load location counter. Must be enclosed in parentheses.
Should not exceed the value 65535.
<exp2>
Initial value to assign to the load counter used as the <llc>. If <exp2> is a
relative expression the Assembler uses the relative location counter. If
<exp2> is an absolute expression the Assembler uses the absolute loca-
tion counter. If <exp2> is not specified, then the last value and mode that
the counter had will be used.
If the last half of the operand field in an
ORG
directive dealing with the load memory space
and counter is not specified, then the Assembler will assume that the load memory space
and load location counter are the same as the runtime memory space and runtime loca-
tion counter. In this case, object code is being assembled to be loaded into the address
and memory space where it will be when the program is run, and is not an overlay.
If the load memory space and counter are given in the operand field, then the Assembler
always generates code for an overlay. Whether the overlay is absolute or relocatable de-
pends upon the current operating mode of the Assembler and whether the load counter
value is an absolute or relative expression. If the Assembler is running in absolute mode,
or if the load counter expression is absolute, then the overlay is absolute. If the Assembler
is in relative mode and the load counter expression is relative, the overlay is relocatable.
Runtime relocatable overlay code is addressed relative to the location given in the runtime
F
Freescale Semiconductor, Inc.
n
.