SN8P1600
8-bit micro-controller
STACK OPERATIONS
OVERVIEW
The stack buffer of SN8P1600 has 4-level high area and each level is 10-bit length. These buffers are designed to
push and pop up program counter’s (PC) data when interrupt service routine is executed. The STKP register is a
pointer designed to point active level in order to push or pop up data from stack buffer of kernel circuit. The STKnH and
STKnL are the 10-bit stack buffers to store program counter (PC) data.
PCL
PCH
CALL /
RET /
RETI
interrupt
STK3L
STK2L
STK1L
STK0L
STK3H
STK2H
STK1H
STK0H
STKP = 3
STKP = 2
STKP = 1
STKP = 0
STKP + 1
STKP - 1
STKP
STKP
SONiX TECHNOLOGY CO., LTD
Page 29
Revision 1.94