Intel 8XC196K Series User Manual page 594

Table of Contents

Advertisement

SP
The system's stack pointer (SP) can point anywhere in internal or external memory; it must be word
aligned and must always be initialized before use. The stack pointer is decremented before a PUSH
and incremented after a POP, so the stack pointer should be initialized to two bytes above the highest
stack location. If stack operations are not being performed, locations 18H and 19H may be used as
standard registers.
15
7
Bit
Number
15:0
Stack Pointer
This register makes up the system's stack pointer.
Stack Pointer (high byte)
Stack Pointer (low byte)
Function
REGISTERS
Address:
18H
Reset State:
XXXXH
8
0
C-67
SP

Advertisement

Table of Contents
loading

Table of Contents