Specifications

Saturn Macros 5-11
Psy-Q Development System
TYPE
Description TYPE is a function used to provide information about a symbol. It is frequently used
with a macro to determine the nature of its parameters. The value is returned as a
word; the meanings of the bit settings are given below.
Syntax TYPE(symbol)
The reply word can be interpreted as follows:
Bit 0 Symbol has an absolute value
Bit 1 Symbol is relative to the start of the Section
Bit 2 Symbol was defined using SET
Bit 3 Symbol is a Macro
Bit 4 Symbol is a String Equate (EQUS)
Bit 5 Symbol was defined using EQU
Bit 6 Symbol appeared in an XREF statement
Bit 7 Symbol appeared in an XDEF statement
Bit 8 Symbol is a Function
Bit 9 Symbol is a Group Name
Bit 10 Symbol is a Macro parameter
Bit 11 Symbol is a short Macro (MACROS)
Bit 12 Symbol is a Section Name
Bit 13 Symbol is Absolute Word Addressable
Bit 14 Symbol is a Register Equate (EQUR)
Bit 15 Symbol is a Register List Equate (REG)