Electronic Components Datasheet Search
  English  ▼

X  

C164SL Datasheet(PDF) 108 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) 108 Page - Infineon Technologies AG

Back Button C164SL Datasheet HTML 104Page - Infineon Technologies AG C164SL Datasheet HTML 105Page - Infineon Technologies AG C164SL Datasheet HTML 106Page - Infineon Technologies AG C164SL Datasheet HTML 107Page - Infineon Technologies AG C164SL Datasheet HTML 108Page - Infineon Technologies AG C164SL Datasheet HTML 109Page - Infineon Technologies AG C164SL Datasheet HTML 110Page - Infineon Technologies AG C164SL Datasheet HTML 111Page - Infineon Technologies AG C164SL Datasheet HTML 112Page - Infineon Technologies AG Next Button
Zoom Inzoom in Zoom Outzoom out
 108 / 484 page
background image
C164CI/C164SI
Derivatives
Interrupt and Trap Functions
User’s Manual
5-17
V3.1, 2002-02
5.4
Saving Status during Interrupt Service
Before an interrupt request that has been arbitrated is actually serviced, the status of the
current task is automatically saved on the system stack. The CPU status (PSW) is saved
together with the location at which execution of the interrupted task is to be resumed
after returning from the service routine. This return location is specified through the
Instruction Pointer (IP) and, in the case of a segmented memory model, the Code
Segment Pointer (CSP). Bit SGTDIS in register SYSCON controls how the return
location is stored.
The system stack receives the PSW first, followed by the IP (unsegmented), or followed
by CSP and then IP (segmented mode). This optimizes the usage of the system stack if
segmentation is disabled.
The CPU priority field (ILVL in PSW) is updated with the priority of the interrupt request
to be serviced, so the CPU now executes on the new level. If a multiplication or division
was in progress at the time the interrupt request was acknowledged, bit MULIP in
register PSW is set to ‘1’. In this case, the return location saved on the stack is not the
next instruction in the instruction flow, but rather the multiply or divide instruction itself,
as this instruction has been interrupted and will be completed after returning from the
service routine.
Figure 5-3
Task Status Saved on the System Stack
The interrupt request flag of the source being serviced is cleared. The IP is loaded with
the vector associated with the requesting source (CSP is cleared in the case of
segmentation), and the first instruction of the service routine is fetched from the vector
location which is expected to branch to the service routine itself. The data page pointers
and the context pointer are not affected.
(Unsegmented)
PSW
System Stack after
Interrupt Entry
Interrupt Entry
System Stack before
a)
b)
SP
High
Addresses
Low
Addresses
--
--
--
SP
IP
--
MCD02226
b)
Interrupt Entry
System Stack after
(Segmented)
Task
Interrupted
Status of
CSP
PSW
IP
SP



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