CallRet

include vmm.inc

CallRet Procedure


The CallRet macro either calls or jumps to the specified procedure, depending on whether the DEBUG symbol is defined. If DEBUG is defined, the macro generates a call to the procedure followed by a return instruction. Otherwise, the macro generates a jump to the procedure.

Parameters

Procedure

Specifies the procedure or service to call.

Return Value

This macro has no return value.

Comments

This macro is typically used in conjunction with the Log_Proc_Call service to record the path of execution through a virtual device.

See Also

Log_Proc_Call