ENDCAL - special call+return sequence.

Usage:

endcal  func[,addrmod]

Where:

func
is the entry point of the function to be called.
addrmod
is an optional field indicating the address modification that is to be used in the transfer instruction. If "addrmod" is used, ENDCAL will not generate a SYMREF for "func". If ENDCAL is being used for tail recursion, you would probably use "$" or "n" for "addrmod".

Description:

ENDCAL is used in special cases instead of a call followed by an immediate return. ENDCAL backs up the stack and transfers to "func". This may only be done if "func" does not make use of "nargs" information.

Copyright © 1996, Thinkage Ltd.