M30622 Mitsubishi, M30622 Datasheet - Page 61

no-image

M30622

Manufacturer Part Number
M30622
Description
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Manufacturer
Mitsubishi
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
M30622-109GP
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Part Number:
M30622ECFP
Manufacturer:
INFINEON
Quantity:
607
Part Number:
M30622ECFP
Manufacturer:
ST
0
Part Number:
M30622EECFP
Manufacturer:
MIT
Quantity:
20 000
Part Number:
M30622F8PA04GP
Manufacturer:
MIT
Quantity:
105
Part Number:
M30622F8PA04GP
Manufacturer:
RENESAS
Quantity:
1 000
Part Number:
M30622F8PA04GP
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Part Number:
M30622F8PFP
Manufacturer:
MIT
Quantity:
20 000
Part Number:
M30622F8PFP#D5C
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Part Number:
M30622F8PFP#U3C
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Part Number:
M30622F8PFP#U5C
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Part Number:
M30622F8PFPD5
Manufacturer:
RENESAS
Quantity:
893
Part Number:
M30622F8PFPU3C
Manufacturer:
RENESAS
Quantity:
5 002
Part Number:
M30622F8PFPU5U
Manufacturer:
STM
Quantity:
4 667
Part Number:
M30622F8PGP
Manufacturer:
MIT
Quantity:
20 000
Interrupt
Figure 1.14.6. State of stack before and after acceptance of interrupt request
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 1.14.6 shows the state of the stack as it was before the acceptance of the
interrupt 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
m + 1
Stack status before interrupt request
is acknowledged
m
Tentative Specifications REV.A
MSB
S
pecifications in this manual are tentative and subject to change.
Content of previous stack
Content of previous stack
Stack area
LSB
[SP]
Stack pointer
value before
interrupt occurs
61
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
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Stack area
H
)
counter (PC
Program
L
)
L
M
)
)
Mitsubishi microcomputers
LSB
H
)
M16C / 62T Group
[SP]
New stack
pointer value

Related parts for M30622