Section 2: Compiler
49
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
l
Use long offsets in table look-up switch tables instead of
word offsets. Long offsets must be specified if the total
size of the code inside a switch statement exceeds 32767
bytes.
L
Reference data objects using the 32-bit absolute
addressing mode. This option inhibits data references
from being coerced to PC-relative modes when the
generation of position-independent code is specified (
-Xp
flag). See also
-XW
flag.
M
Not supported by Texas Instruments, however,
M
is
recognized as a reserved flag by the compiler.
N
Automatically size enumerated data types to the smallest
integer type that can represent all associated enumeration
members. When this option is not specified, enumerated
data types are always type
int
.
p
Generate position-independent code with a maximum
PC-relative displacement of 16 bits.
q
When used with the
-Z
flag, this option undoes the effect
of the
-q
and
-q1
flags used to specify the generation of
source-level debugger information. This option is not valid
with the
-X
flag.
r#
Prevent the compiler from using the registers specified by
the
r
options. The reserved registers are available for use
(possibly as base registers) in assembly language
routines that are linked with C programs. The options
r0
through
ra
cause the following registers to be reserved:
r0
−
a5
r6
−
a5, a4, d7
r1
−
a5, a4
r7
−
a5, d7, d6
r2
−
d7
r8
−
a5, a4, d7, d6
r3
−
d7, d6
r9
−
a5, a4, d7, d6, d5
r4
−
d7, d6, d5
ra
−
a5, a4, a3, d7, d6, d5
r5
−
a5, d7
If register
a5
is already being used as a base register as
specified by
-Xd
, the reserved address registers are
shifted down one register (e.g.,
a5
,
a4
becomes
a4
,
a3
).
R
Base the relative path of
#include
files on the directory
containing the original source file. The default is to base
the path on the directory containing the including file. This
option is only valid with the
-Z
flag and is provided to
undo the effect of the
-XR
flag.