| 数据搜索系统,热门电子元器件搜索 |
|
C167CS-4RM 数据表(PDF) 79 Page - Infineon Technologies AG |
|
|
|||||||||||||||||||||||||||||
C167CS-4RM 数据表(HTML) 79 Page - Infineon Technologies AG |
|
79 / 517 page ![]() C167CS Derivatives The Central Processing Unit (CPU) User’s Manual 4-29 V2.0, 2000-07 The Stack Underflow Pointer STKUN This non-bit addressable register is compared against the SP register after each operation, which pops data from the system stack (e.g. POP and RET instructions) and after each addition to the SP register. If the content of the SP register is greater than the content of the STKUN register, a stack underflow hardware trap will occur. Since the least significant bit of register STKUN is tied to ‘0’ and bits 15 through 12 are tied to ‘1’ by hardware, the STKUN register can only contain values from F000H to FFFEH. The Stack Underflow Trap (entered when (SP) > (STKUN)) may be used in two different ways: • Fatal error indication treats the stack underflow as a system error through the associated trap service routine. • Automatic system stack refilling allows to use the system stack as a ‘Stack Cache’ for a bigger external user stack. In this case register STKUN should be initialized to a value, which represents the desired highest Bottom of Stack address. More details about the stack underflow trap service routine and virtual stack management are given in Chapter 22. Scope of Stack Limit Control The stack limit control realized by the register pair STKOV and STKUN detects cases where the stack pointer SP is moved outside the defined stack area either by ADD or SUB instructions or by PUSH or POP operations (explicit or implicit, i.e. CALL or RET instructions). This control mechanism is not triggered, i.e. no stack trap is generated, when • the stack pointer SP is directly updated via MOV instructions • the limits of the stack area (STKOV, STKUN) are changed, so that SP is outside of the new limits. STKUN Stack Underflow Reg. SFR (FE16H/0BH) Reset Value: FC00H 15 14 13 12 11 10 98765 43210 1111 stkun 0 r r r r rw r Bit Function stkun Modifiable portion of register STKUN Specifies the upper limit of the internal system stack. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |