advnce [endptr][,<options>]
<options> := <option> | (<option>[,<options>*]) <option> := ARB | INHIB | STORE
bentry putnum
eax3 0
tra start,$
bentry putoct
eax3 1
start advnce ,INHIB
ADVNCE is used in specialized applications where the user wishes to separate the function entry point and the advancement of the stack. As shown in the example, this often occurs where a common main line is used by multiple entry points. ADVNCE does not affect the "A" register, "Q" register or "X3".
The arguments to the macro are the same as those described with SENTRY. In fact, SENTRY is shorthand for a call to BENTRY followed by a call to ADVNCE.
* advnce
tsx0 .entry
zero .frame,end
symref .retrn,.entry
* advnce ,arb
tsx0 .vntry
zero .frame,end
symref .retrn,.vntry
Copyright © 1996, Thinkage Ltd.