When translated code support is requested, the compiled code
must call the special service routine, OTS$CALL_PROC. The actual
parameters to the target function are passed to OTS$CALL_PROC as
though the target routine is native code that is being invoked
directly.
OTS$CALL_PROC first determines whether the target routine is part
of a translated image.
If the target is in native code, then OTS$CALL_PROC completes
the call in a way that makes its mediation transparent (that is,
control need not pass back through it for the return). The native
parameters are used without modification.
If the target is in translated code, then OTS$CALL_PROC passes
control to the Translated Image Environment (TIE).