Language:
Русский
English
Built-in Assembler RET Instructions
Depending on the call model of the current procedure or function, RET generates either a near return or a far return machine-code instruction.
Generates NEAR return Generates FAR return
procedure NearProc; near; procedure FarProc; far;
begin begin
asm asm
RET RET
end; end;
end; end;
- RETN always generates a near return.
- RETF always generates a far return.