| ||
In addition to declarations using the PUBLIC and EXTERN directives, it is possible to declare macros using the GLOBAL directive, which is equivalent to the combination of PUBLIC and EXTERN .
PURGE macro name This directive cancels the loading of the specified macro. It is used when working with the library of macros to avoid a memory shortage.
LENGTHOF This macro defines the number of data elements, SIZEOF defines the data size (both are missing in TASM).
The following are directives for specifying the command set:
.8086 Only commands from the 8086 microprocessor command set are allowed. This directive is used by default.
.186 186 commands are allowed.
.286 and .286P Commands from the i286 processor's command set are allowed. The P suffix here and later means that the protected mode commands are allowed.
.386 and .386P Stand for allowing the i386 microprocessor's command set.
.486 and .486P Commands of the i486 processor are allowed.
.586 and .586P This means that Pentium (P5) processor commands are allowed.
.686 and .686P Pentium Pro and Pentium II (P6) commands are allowed.
.8087 Commands of the i8087 coprocessor are allowed.
.287 i286 coprocessor commands are allowed.
.387 i387 coprocessor commands are allowed.
.MMX MMX extension commands are allowed.
The directives for controlling the listing are as follows :
NAME Specifies the module name.
TITLE Defines the listing title.
Note | By default, both the module name and the listing name match the filename.
|
| ||