ENTERZ and EXITZ
SUNDB86M Only
The ENTERZ and EXITZ compiler directives designate the beginning and end of assembler source inclusion. ENTERZ and EXITZ are only supported in the SUNDB86M compiler. They use the following formats:
|
|
|
|
|
|
(various assembler source lines could follow) | |
|
|
|
|
Where:
label
Optional. A Program Execution Label.
Flags Affected: NONE
Note the following:
ENTERZ indicates the start of the assembler source lines that were included within the source and EXITZ indicates the end. All lines between the ENTERZ and EXITZ are passed directly to the assembler without processing. This is an area where Sunbelt may offer examples but will not provide support for Assembler routines, except at prevailing time and material consulting rates.
SUNDB86M generates assembler source in which all Program Execution Labels are preceded by a question mark (?), all Data Definition Labels are preceded by a (@) symbol and (if using the RASM86 assembler), any dollar signs ($) within labels are converted to underscores (_).
Data Definition Labels used within assembler instructions must be offset by two (2) if DIM/INIT or one (1) if FORM/INTEGER to address the actual data area. Data moved into DIM/INIT variables may not be apparent until the form pointer and length pointer have been properly adjusted.
If the DS, ES, SS, or SP registers are modified in the assembler routine, they must be saved prior to and restored after completion (using PUSH and POP).
Both ENTERZ and EXITZ are compatible with SUNDB86M only. Review the assembler source (.A86 or .ASM) files output by the SUNDB86M compiler for examples.
See Also: Example Code, BYTE, BYTEX, WORD, WORDX, Compiler Directives
![]() |