DR805x Instructions set details
- 64 -
3.32. RET
Function:
Return from subroutine
Description: RET pops the high and low-order bytes of the PC successively from the
stack, decrementing the stack pointer by two. Program execution
continues at the resulting address, generally the instruction immediately
following an ACALL or LCALL. No flags are affected.
Operation:
(PC15-8) ← ((SP))
(SP) ← (SP) - 1
(PC7-0) ← ((SP))
(SP)
← (SP) - 1
Bytes:
Cycles:
1
4
Encoding:
0
0
1
0
0
0
1
0
All trademarks mentioned in this document
are trademarks of their respective owners.
http://www.DigitalCoreDesign.com
http://www.dcd.pl
Copyright 1999-2003 DCD – Digital Core Design. All Rights Reserved.