You are here : assembly8051RET

RET - 8051

The RET instruction pops the high-order and low-order bytes of the PC from the stack (and decrements the stack pointer by 2).

Program execution resumes from the resulting address which is typically the instruction following an ACALL or LCALL instruction.

No flags are affected by this instruction.


Syntax

RET


Example

RET 	;1 byte 2 cycles


Output / Return Value


Limitations


Alternatives / See Also


Reference