Language:
Русский
English
NEAR and FAR
The NEAR and FAR pseudo-types are used by procedure and function symbols to
indicate their call model.
You can use NEAR and FAR in typecasts just like other symbols. For example,
if FarProc is a FAR procedure
procedure FarProc; far;
and you're writing built-in assembler code in the same module as FarProc, you can use the more efficient NEAR call instruction to call FarProc:
asm
PUSH CS
CALL NEAR PTR FarProc
end;