
16 bit Assembly
Home
Site Map
Instruction Index
RET - Return Instruction
The RET instruction is used to end use of a sub routine and return to the next intruction after the caller.
There are several RET Instructions
- RET - Op Code C3 - A near return from within the same segment.
- RET - Op Code CB - A far return from a different segment from the caller.
- RET 0x04 - Op Code C2 04 - A near return from within the same segment, operand specifies additional stack items to be removed on return.
- RET 0x04 - Op Code CA 04 - A far return from a different segment from the caller, operand specifies additional stack items to be removed on return.
Last Update 07/02/2023