Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

SAFC161PI Datasheet(PDF) 78 Page - Infineon Technologies AG

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

SAFC161PI Datasheet(HTML) 78 Page - Infineon Technologies AG

Back Button SAFC161PI Datasheet HTML 74Page - Infineon Technologies AG SAFC161PI Datasheet HTML 75Page - Infineon Technologies AG SAFC161PI Datasheet HTML 76Page - Infineon Technologies AG SAFC161PI Datasheet HTML 77Page - Infineon Technologies AG SAFC161PI Datasheet HTML 78Page - Infineon Technologies AG SAFC161PI Datasheet HTML 79Page - Infineon Technologies AG SAFC161PI Datasheet HTML 80Page - Infineon Technologies AG SAFC161PI Datasheet HTML 81Page - Infineon Technologies AG SAFC161PI Datasheet HTML 82Page - Infineon Technologies AG Next Button
Zoom Inzoom in Zoom Outzoom out
 78 / 400 page
background image
&3,
7KH &HQWUDO 3URFHVVLQJ 8QLW &38
User’s Manual
4-30
1999-08
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
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 F000
H to
FFFE
H.
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 “System Programming”.
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 (FE16
H/0BH)
Reset value: FC00
H
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
11
11
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