Electronic Components Datasheet Search
  English  ▼

X  

17017 Datasheet(PDF) 87 Page - Renesas Technology Corp

Part # 17017
Description  MOS INTEGRATED CIRCUIT
PDF  326 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

17017 Datasheet(HTML) 87 Page - Renesas Technology Corp

Back Button 17017 Datasheet HTML 83Page - Renesas Technology Corp 17017 Datasheet HTML 84Page - Renesas Technology Corp 17017 Datasheet HTML 85Page - Renesas Technology Corp 17017 Datasheet HTML 86Page - Renesas Technology Corp 17017 Datasheet HTML 87Page - Renesas Technology Corp 17017 Datasheet HTML 88Page - Renesas Technology Corp 17017 Datasheet HTML 89Page - Renesas Technology Corp 17017 Datasheet HTML 90Page - Renesas Technology Corp 17017 Datasheet HTML 91Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 87 / 326 page
background image
µPD17016, 17017
85
10.7 Operation After Interrupt Has been Acknowledged
When an interrupt has been acknowledged, the following processing is sequentially executed.
(1) The interrupt enable flip-flop and the interrupt request flag corresponding to the acknowledged interrupt are
reset to “0”, disabling the interrupts.
(2) The contents of the stack pointer are decremented by one.
(3) The contents of the program counter are saved to the address stack register specified by the stack pointer.
The contents saved at this time are the next program memory address that is used after the interrupt has been
acknowledged. For example, if a branch instruction is executed, the contents saved are the branch destination
address; if a subroutine call instruction is executed, they are the called address. Because the interrupt is
acknowledged after the next instruction is executed as a “NOP” instruction if a skip condition is satisfied by
a skip instruction, the saved contents are the skipped address.
(4) The low-order 2 bits of the bank register (BANK) and the index enable flag (IXE) are saved to the interrupt
stack.
(5) The contents of the vector address generator corresponding to the acknowledged interrupt are transferred
to the program counter. In other words, execution branches to an interrupt processing routine.
The processing (1) through (5) above is executed in one special instruction cycle (4.44
µs) in which the normal
instruction is not executed. This instruction cycle is called an interrupt cycle.
In other words, one instruction cycle time is necessary since an interrupt has been acknowledged until
execution branches to the corresponding vector address.
10.8 Restoring from Interrupt Processing Routine
To restore execution from an interrupt processing routine to the processing that was being performed when
the interrupt occurred, a dedicated instruction, “RETI”, is used.
When the “RETI” instruction is executed, the following processing is sequentially executed.
(1) The contents of the address stack register specified by the stack pointer are saved to the program counter.
(2) The contents of the interrupt stack are restored to the low-order 2 bits of the bank register (BANK) and index
enable flag (IXE).
(3) The contents of the stack pointer are incremented by one.
The processing (1) through (3) above is executed in one instruction cycle in which the “RETI” instruction is
executed.
The difference between the “RETI” instruction and subroutine return instructions “RET” and “RETSK” is only
the restoring operation of the bank register and index enable flag in (2) above.



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