Electronic Components Datasheet Search
  English  ▼

X  

C161V Datasheet(PDF) 62 Page - Siemens Semiconductor Group

Part # C161V
Description  16-Bit CMOS Single-Chip Microcontrollers
PDF  260 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  SIEMENS [Siemens Semiconductor Group]
Direct Link  http://www.siemens.com/
Logo SIEMENS - Siemens Semiconductor Group

C161V Datasheet(HTML) 62 Page - Siemens Semiconductor Group

Back Button C161V_96 Datasheet HTML 58Page - Siemens Semiconductor Group C161V_96 Datasheet HTML 59Page - Siemens Semiconductor Group C161V_96 Datasheet HTML 60Page - Siemens Semiconductor Group C161V_96 Datasheet HTML 61Page - Siemens Semiconductor Group C161V_96 Datasheet HTML 62Page - Siemens Semiconductor Group C161V_96 Datasheet HTML 63Page - Siemens Semiconductor Group C161V_96 Datasheet HTML 64Page - Siemens Semiconductor Group C161V_96 Datasheet HTML 65Page - Siemens Semiconductor Group C161V_96 Datasheet HTML 66Page - Siemens Semiconductor Group Next Button
Zoom Inzoom in Zoom Outzoom out
 62 / 260 page
background image
10Jul97@15:19h
The Central Processing Unit (CPU) / C161
Semiconductor Group
4-25
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 (eg. 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 F000H to FFFEH.
STKOV (FE14H / 0AH)
SFR
Reset Value: FA00H
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”.
Bit
Function
stkov
Modifiable portion of register STKOV
Specifies the lower limit of the internal system stack.
1
0
1
5
4
3
2
1
0
11
10
9
8
7
6
15
14
13
12
r
rw
r
r
r
11
r
stkov



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