tmp88f846ug TOSHIBA Semiconductor CORPORATION, tmp88f846ug Datasheet - Page 42

no-image

tmp88f846ug

Manufacturer Part Number
tmp88f846ug
Description
8 Bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TMP88F846UG
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
Part Number:
tmp88f846ug(CZHZB)
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
Part Number:
tmp88f846ug(ZHZB)
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
3.3 Interrupt Sequence
3. Interrupt Control Circuit
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
L
H
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
; Save WA register
; Restore A register
; End of interrupt , restore RBS and interrupt return
; PINTxx vector address setting
; RBS <- RBS + 0
; Restore WA register
; RETURN
; Save A register
; Return
At execution of
POP instruction
PSW
PSW
PC
PC
H
L
L
H
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
TMP88F846UG

Related parts for tmp88f846ug