tmp86ch47ug TOSHIBA Semiconductor CORPORATION, tmp86ch47ug Datasheet - Page 49

no-image

tmp86ch47ug

Manufacturer Part Number
tmp86ch47ug
Description
8 Bit Microcontroller Tlcs-870/c Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
tmp86ch47ug-5JP0
Manufacturer:
TOSH
Quantity:
2 478
Part Number:
tmp86ch47ug-5JP0
Manufacturer:
TOSH
Quantity:
1 000
Example :Save/store register using PUSH and POP instructions
Example :Save/store register using data transfer instructions
3.4.2.1
3.4.2.2
SP
At acceptance of
an interrupt
PINTxx:
PINTxx:
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.
PSW
PCH
PCL
PUSH
(interrupt processing)
POP
RETI
LD
(interrupt processing)
LD
RETI
SP
At execution of
PUSH instruction
WA
WA
(GSAVA), A
A, (GSAVA)
PSW
PCH
PCL
W
A
Page 39
SP
At execution of
POP instruction
; Save WA register
; Restore WA register
; Restore A register
; RETURN
; Save A register
; RETURN
PSW
PCL
PCH
SP
At execution of
RETI instruction
TMP86C845UG
Address
(Example)
b-5
b-4
b-3
b-2
b-1
b

Related parts for tmp86ch47ug