tmp86fh46bng TOSHIBA Semiconductor CORPORATION, tmp86fh46bng Datasheet - Page 55

no-image

tmp86fh46bng

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

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TMP86FH46BNG
Manufacturer:
TOSHIBA/东芝
Quantity:
20 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
PINTxx:
PINTxx:
can be saved/restored using the PUSH/POP instructions.
At acceptance of
an interrupt
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.
Figure 3-3 Save/store register using PUSH and POP instructions
Using PUSH and POP instructions
Using data transfer instructions
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 37
SP
; Save WA register
; Restore WA register
; RETURN
; Save A register
; Restore A register
; RETURN
At execution of
POP instruction
PSW
PCL
PCH
SP
At execution of
RETI instruction
TMP86FH46BNG
Address
(Example)
b-5
b-4
b-3
b-2
b-1
b

Related parts for tmp86fh46bng