English
Language : 

SDA6000 Datasheet, PDF (80/380 Pages) Infineon Technologies AG – Teletext Decoder with Embedded 16-bit Controller
SDA 6000
C16X Microcontroller
(usually bigger) can be realized via software. This mechanism is supported by the
STKOV and STKUN registers (see respective descriptions below).
The SP register can be updated via any instruction, which is capable of modifying an
SFR.
Note: Due to the internal instruction pipeline, a POP or RETURN instruction must not
immediately follow an instruction updating the SP register.
SP
Reset Value: FC00H
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1
1
1
1
sp
0
rrrr
rw
r
Bit
Function
sp
Modifiable portion of register SP
Specifies the top of the internal system stack.
The Stack Overflow Pointer STKOV
This non-bit addressable register is compared against the SP register after each
operation, which pushes data onto the system stack (e.g. PUSH and CALL instructions
or interrupts) and after each subtraction from the SP register. If the contents of the SP
register are less than the content of the STKOV register, a stack overflow hardware trap
will occur.
Since the least significant bit of register STKOV is tied to ‘0’ and bits 15 through 12 are
tied to ‘1’ by hardware, the STKOV register can only contain values from F000H to
FFFEH.
STKOV
Reset Value: FA00H
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1
1
1
1
stkov
0
rrrr
rw
r
Bit
stkov
Function
Modifiable portion of register STKOV
Specifies the lower limit of the internal system stack.
The Stack Overflow Trap (entered when (SP) < (STKOV)) may be used in two different
ways:
• Fatal error indication treats the stack overflow as a system error through the
associated trap service routine. Under these circumstances data in the bottom of the
Users Manual
4 - 47
2000-06-15