English
Language : 

DR805X Datasheet, PDF (64/79 Pages) Digital Core Design – 8-bit RISC Microcontroller Instructions set details ver 3.10
DR805x Instructions set details
3.32. RET
- 64 -
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:
1
Cycles:
4
Encoding:
00100010
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.