M306V2 Mitsubishi, M306V2 Datasheet - Page 59

no-image

M306V2

Manufacturer Part Number
M306V2
Description
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER and ON-SCREEN DISPLAY CONTROLLER
Manufacturer
Mitsubishi
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
M306V2EEFP
Manufacturer:
SHARP
Quantity:
102
Part Number:
M306V2EEFP
Manufacturer:
MIT
Quantity:
20 000
Part Number:
M306V2ME-179FP
Manufacturer:
RENESAS
Quantity:
66
Part Number:
M306V2ME-202FP
Manufacturer:
MITSUBISHI
Quantity:
198
Part Number:
M306V2ME-207
Manufacturer:
OREN
Quantity:
92
Part Number:
M306V2ME-207
Manufacturer:
MIT
Quantity:
1 000
Part Number:
M306V2ME-207
Manufacturer:
MIT
Quantity:
20 000
Part Number:
M306V2ME-207FP
Manufacturer:
RENESAS
Quantity:
380
Company:
Part Number:
M306V2ME-212FP
Quantity:
2 830
Rev. 1.0
Figure 2.7.6 State of stack before and after acceptance of interrupt request
2.7.13 Saving Registers
In the interrupt sequence, only the contents of the flag register (FLG) and that of the program counter
(PC) are saved in the stack area.
First, the processor saves the four higher-order bits of the program counter, and 4 upper-order bits and 8
lower-order bits of the FLG register, 16 bits in total, in the stack area, then saves 16 lower-order bits of the
program counter. Figure 2.7.6 shows the state of the stack as it was before the acceptance of the inter-
rupt request, and the state the stack after the acceptance of the interrupt request.
Save other necessary registers at the beginning of the interrupt routine using software. Using the
PUSHM instruction alone can save all the registers except the stack pointer (SP).
Address
m – 4
m – 3
m – 2
m – 1
Stack status before interrupt request
is acknowledged
m + 1
m
MSB
Content of previous stack
Content of previous stack
Stack area
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER
LSB
[SP]
Stack pointer
value before
interrupt occurs
Address
m – 4
m – 3
m – 2
m – 1
m
m + 1
Stack status after interrupt request
is acknowledged
MSB
Flag register
Content of previous stack
Content of previous stack
Program counter (PC
Program counter (PC
(FLG
Flag register (FLG
and ON-SCREEN DISPLAY CONTROLLER
Stack area
H
)
MITSUBISHI MICROCOMPUTERS
counter (PC
M306V2ME-XXXFP
Program
L
)
L
M
)
)
LSB
H
)
M306V2EEFP
[SP]
New stack
pointer value
59

Related parts for M306V2