Motore di ricerca datesheet componenti elettronici
  Italian  ▼
ALLDATASHEETIT.COM

X  

TMP89FS60 Scheda tecnica(PDF) 72 Page - Toshiba Semiconductor

Il numero della parte TMP89FS60
Spiegazioni elettronici  8 Bit Microcontroller
PDF  410 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Produttore elettronici  TOSHIBA [Toshiba Semiconductor]
Homepage  http://www.semicon.toshiba.co.jp/eng
Logo TOSHIBA - Toshiba Semiconductor

TMP89FS60 Scheda tecnica(HTML) 72 Page - Toshiba Semiconductor

Back Button TMP89FS60 Datasheet HTML 68Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 69Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 70Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 71Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 72Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 73Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 74Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 75Page - Toshiba Semiconductor TMP89FS60 Datasheet HTML 76Page - Toshiba Semiconductor Next Button
Zoom Inzoom in Zoom Outzoom out
 72 / 410 page
background image
Page 58
3. Interrupt Control Circuit
3.5 Interrupt Sequence
TMP89FS60
RA003
3.5.3.2
Using data transfer instructions
To save only a specific register without nested interrupts, data transfer instructions are available.
Figure 3-4 Saving/Restoring General-purpose Registers under Interrupt Processing
3.5.3.3
Using a register bank to save/restore general-purpose registers
In non-multiple interrupt handling, the register bank function can be used to save/restore the general-
purpose registers at a time. The register bank function saves (switches) the general-purpose registers by
executing a register bank manipulation instruction (such as LD RBS,1) at the beginning of an interrupt
service task. It is unnecessary to re-execute the register bank manipulation instruction at the end of the
interrupt service task because executing the RETI instruction makes a return automatically to the register
bank that was being used by the main task according to the content of the PSW.
Note: Two register banks (BANK0 and BANK1) are available. Each bank consists of 8-bit general-purpose
registers (W, A, B, C, D, E, H, and L) and 16-bit general-purpose registers (IX and IY).
Example :Save/store register using data transfer instructions
PINTxx:
LD
(GSAVA), A
; Save A register
Interrupt processing
LD
A, (GSAVA)
; Restore A register
RETI
; RETURN
Example :Saving/restoring registers, using an instruction for transfer with data memory (with the main task using the regis-
ter bank BANK0)
PINTxx:
LD
RBS, 1
; Switches to the register bank BANK1
Interrupt processing
RETI
; RETURN
(Makes a return automatically to BANK0 that
was being used by the main task when the
PSW is restored)
Main task
Interrupt acceptance
Interrupt
service task
Saving
registers
Restoring
registers
Interrupt return



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


Scheda tecnica Scarica

Go To PDF Page


Link URL



Lei ha avuto il aiuto da alldatasheet?  [ DONATE ] 

Di alldatasheet   |   Richest di pubblicita   |   contatti   |   Privacy Policy   |   Collegamento alla scheda tecnica    |   scambio Link   |   Ricerca produttore
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