| Electronic Components Datasheet Search |
|
SAF-C161PI Datasheet(PDF) 77 Page - Infineon Technologies AG |
|
|
|||||||||||||||||||||||||||||
SAF-C161PI Datasheet(HTML) 77 Page - Infineon Technologies AG |
|
77 / 400 page ![]() &3, 7KH &HQWUDO 3URFHVVLQJ 8QLW &38 User’s Manual 4-29 1999-08 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 content of the SP register is 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 F000 H to FFFE H. 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 stack may have been overwritten by the status information stacked upon servicing the stack overflow trap. • Automatic system stack flushing allows to use the system stack as a ’Stack Cache’ for a bigger external user stack. In this case register STKOV should be initialized to a value, which represents the desired lowest Top of Stack address plus 12 according to the selected maximum stack size. This considers the worst case that will occur, when a stack overflow condition is detected just during entry into an interrupt service routine. Then, six additional stack word locations are required to push IP, PSW, and CSP for both the interrupt service routine and the hardware trap service routine. More details about the stack overflow trap service routine and virtual stack management are given in chapter “System Programming”. STKOV Stack Overflow Reg. SFR (FE14 H/0AH) Reset value:FA00 H 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 11 11 stkov 0 r r r r rw Bit Function stkov Modifiable portion of register STKOV Specifies the lower limit of the internal system stack. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |