30
Section 1: General Information
TI-89 / TI-92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
1.4.8.8. Type Entries and Storage Classes
Symbols having certain storage classes are also restricted to having certain type
entries. Table 1.24 summarizes the relationship between storage class and type
entries.
Storage
Derived Type
Fundamental
Class Function Array Pointer Type
C_AUTO
no yes yes Any except
T_MOE
C_EXT
yes yes yes Any except
T_MOE
C_STAT
yes yes yes Any except
T_MOE
C_REG
no no yes Any except
T_MOE
C_LABEL
no no no
T_NULL
C_MOS
no yes yes Any except
T_MOE
C_ARG
yes no yes Any except
T_MOE
C_STRTAG
no no no
T_STRUCT
C_MOU
no yes yes Any except
T_MOE
C_UNTAG
no no no
T_UNION
C_TPDEF
no yes yes Any except
T_MOE
C_ENTAG
no no no
T_ENUM
C_MOE
no no no
T_MOE
C_REGPARM
no no yes Any except
T_MOE
C_FIELD
no no no
T_ENUM
,
T_CHAR
,
T_UCHAR
,
T_SHORT
,
T_USHORT
,
T_INT
,
T_UINT
,
T_LONG
,
T_ULONG
C_BLOCK
no no no
T_NULL
C_FCN
no no no
T_NULL
C_EOS
no no no
T_NULL
C_FILE
no no no
T_NULL
C_ALIAS
no no no
T_STRUCT
,
T_UNION
,
T_ENUM
Table 1.24: Type Entries by Storage Class
Conditions for the derived types shown in Table 1.24 apply to all derived types,
d1
through
d6
, with the added restriction that it is impossible to have two
consecutive derived types of function.