Electronic Components Datasheet Search
  English  ▼

X  

TC9328AF Datasheet(PDF) 32 Page - Toshiba Semiconductor

Part # TC9328AF
Description  Portable Audio DTS Controller (DTS-21)
PDF  84 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  TOSHIBA [Toshiba Semiconductor]
Direct Link  http://www.semicon.toshiba.co.jp/eng
Logo TOSHIBA - Toshiba Semiconductor

TC9328AF Datasheet(HTML) 32 Page - Toshiba Semiconductor

Back Button TC9328AF Datasheet HTML 28Page - Toshiba Semiconductor TC9328AF Datasheet HTML 29Page - Toshiba Semiconductor TC9328AF Datasheet HTML 30Page - Toshiba Semiconductor TC9328AF Datasheet HTML 31Page - Toshiba Semiconductor TC9328AF Datasheet HTML 32Page - Toshiba Semiconductor TC9328AF Datasheet HTML 33Page - Toshiba Semiconductor TC9328AF Datasheet HTML 34Page - Toshiba Semiconductor TC9328AF Datasheet HTML 35Page - Toshiba Semiconductor TC9328AF Datasheet HTML 36Page - Toshiba Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 32 / 84 page
background image
TC9328AF
2004-09-13
32
3.
Return Processing from Interrupt Processing Routine
In order to make it return to processing before receiving Interrupt from Interrupt processing routine,
RNI instruction which is an exclusive command is used.
Execution of RNI instruction follows the processing automatically one by one.
① The contents of address stack, which is specified with a stack pointer, are returned to a program
counter.
② Set “1” to interrupt master enable and changes into an enable state.
③ The contents of a stack pointer are done
+1.
RNI instruction of the above-mentioned processing is processed in 1 instruction cycle.
4.
Interrupt Processing Routine
Interruption is received regardless of the program currently performed when an interruption request will
be done if it is the program area where interruption is enabled. Therefore, after doing interrupt processing,
when making it return to the program of a basis, it is necessary to return to the state where it is performed
by interrupt processing. For this reason, it is necessary to perform shunting and return operation within an
interruption processing routine about a register, a data memory, etc. which may be operated within an
interruption processing routine at least.
(1)
Shunting processing
In execution of shunting processing, a carry flag surely needs to be shunted. If interruption is
received during execution of arithmetic operation, the contents will change about carry flag (CY) etc.
and the program after a return will mistake judgment. For this reason, the contents of a carry flag
are shunted in a data memory at once by IN1 instruction in the data of the carry flag in I/O map.
The contents of the data memory used by the interruption processing routine and the contents of a
general register are also made to shunt if needed. Furthermore, when MVGD, MVGS or DAL
instruction is used in interrupt routine, it’s necessary to shunt the contents of G-register or DAL
address register.
(2)
Return processing
Return processing should just do opposite to the above-mentioned shunting processing.
If interrupt is received, interrupt master enable flag is reset by “0”, before receiving interrupt, an
interrupt master enable flag must have been “1”.
For this reason, RNI instruction is executed and a master enable flag is returned.
5.
Multiplex Interrupt
Multiplex Interrupt is the method of processing another interrupt during interrupt processing.
As shown in the figure, another interrupt factor C or D is processed during interrupt processing to a
certain interrupt factor A and B. The depth of interrupt at this time is called interrupt level.
Main
routine
B
MAIN
D
A
B
C
D
C
Interrupt
level 1
Interrupt
level 2
Interrupt
level 3
Interrupt
level 4
The example of multiplex interrupt



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


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