Electronic Components Datasheet Search
  English  ▼

X  

C164SL Datasheet(PDF) 87 Page - Infineon Technologies AG

Part # C164SL
Description  16-Bit Single-Chip Microcontroller
PDF  484 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  INFINEON [Infineon Technologies AG]
Direct Link  http://www.infineon.com
Logo INFINEON - Infineon Technologies AG

C164SL Datasheet(HTML) 87 Page - Infineon Technologies AG

Back Button C164SL Datasheet HTML 83Page - Infineon Technologies AG C164SL Datasheet HTML 84Page - Infineon Technologies AG C164SL Datasheet HTML 85Page - Infineon Technologies AG C164SL Datasheet HTML 86Page - Infineon Technologies AG C164SL Datasheet HTML 87Page - Infineon Technologies AG C164SL Datasheet HTML 88Page - Infineon Technologies AG C164SL Datasheet HTML 89Page - Infineon Technologies AG C164SL Datasheet HTML 90Page - Infineon Technologies AG C164SL Datasheet HTML 91Page - Infineon Technologies AG Next Button
Zoom Inzoom in Zoom Outzoom out
 87 / 484 page
background image
C164CI/C164SI
Derivatives
Central Processing Unit (CPU)
User’s Manual
4-29
V3.1, 2002-02
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.
Because 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 contain values from F000H to FFFEH
only.
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 24.
Scope of Stack Limit Control
The Stack Limit Control implemented by the register pair STKOV and STKUN detects
cases in which 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 the
new limits
STKUN
Stack Underflow Reg.
SFR (FE16H/0BH)
Reset Value: FC00H
15
14
13
12
11
10
9876
543210
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.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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