SAB80C517-M16 SIEMENS [Siemens Semiconductor Group], SAB80C517-M16 Datasheet - Page 233

no-image

SAB80C517-M16

Manufacturer Part Number
SAB80C517-M16
Description
8-Bit CMOS Single-Chip Microcontroller
Manufacturer
SIEMENS [Siemens Semiconductor Group]
Datasheet
Encoding:
Bytes:
Cycles:
RET
Function:
Description:
Example:
Operation:
Semiconductor Group
Return from subroutine
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.
The stack pointer originally contains the value 0B H . Internal RAM locations 0A H
and 0B H contain the values 23 H and 01 H , respectively. The instruction
RET
will leave the stack pointer equal to the value 09 H . Program execution will continue
at location 0123 H .
RET
(PC15-8)
(SP)
(PC7-0)
(SP)
1
2
0 0 1 0
(SP) – 1
(SP) – 1
((SP))
((SP))
0 0 1 0
234
Instruction Set

Related parts for SAB80C517-M16