nearcall ROUTINE,SYMREF=>type
If you specify any other value in the "type" position, "nearcall" does not create a SYMREF. Note that the "type" keywords are case-sensitive and must be specified in lowercase.
"nearcall" calls an operator that is in the same segment as the calling routine. It generates an appropriate SYMREF to the specified routine, unless you specify SYMREF=>no. Then "nearcall" calls the routine with a TSX1 instruction.
When an operator is called with "nearcall", the operator should return with "nearret".
It is up to the programmer to ensure that the function being called by "nearcall" is in the same segment as the "nearcall" operator.
The functions "nearcall", "nearret", and "nentry" are not part of the EASEE standard. They are only appropriate in a restricted set of circumstances, e.g. for specialized library use.
Copyright © 1996, Thinkage Ltd.