tmp88cs43fg TOSHIBA Semiconductor CORPORATION, tmp88cs43fg Datasheet - Page 42

no-image

tmp88cs43fg

Manufacturer Part Number
tmp88cs43fg
Description
8 Bit Microcontroller Tlcs-870/x Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
3. Interrupt Control Circuit
3.3 Interrupt Sequence
Example :Register bank switching
Example :Save/store register using PUSH and POP instructions
Example :Save/store register using data transfer instructions
3.3.2.3
3.3.2.4
PINTxx:
VINTxx:
PINTxx:
PINTxx:
SP
can be saved/restored using the PUSH/POP instructions.
Figure 3-3 Save/store register using PUSH and POP instructions
Using PUSH and POP instructions
Using data transfer instructions
If only a specific register is saved or interrupts of the same source are nested, general-purpose registers
To save only a specific register without nested interrupts, data transfer instructions are available.
At acceptance of
an interrupt
PSW
PSW
PC
PC
H
L
L
H
LD
(interrupt processing)
RETI
:
DP
DB
PUSH
(interrupt processing)
POP
RETI
LD
(interrupt processing)
LD
RETI
SP
RBS, n
PINTxx
0
WA
WA
(GSAVA), A
A, (GSAVA)
At execution of
PUSH instruction
PSW
PSW
PC
PC
W
A
H
L
L
H
Page 32
SP
; RBS <- n
; End of interrupt , restore RBS and interrupt return
; PINTxx vector address setting
; RBS <- RBS + 0
; Save WA register
; Restore WA register
; RETURN
; Save A register
; Restore A register
; Return
At execution of
POP instruction
PSW
PSW
PC
PC
H
L
H
L
Begin of interrupt routine
RBS setting on PINTxx
SP
At execution of
RETI instruction
Address
(Example)
b-5
b-4
b-3
b-2
b-1
b
TMP88CS43FG

Related parts for tmp88cs43fg