M30622SAFP MITSUBISHI [Mitsubishi Electric Semiconductor], M30622SAFP Datasheet - Page 56

no-image

M30622SAFP

Manufacturer Part Number
M30622SAFP
Description
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Manufacturer
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
M30622SAFP
Manufacturer:
AVAGO
Quantity:
18
Part Number:
M30622SAFP
Manufacturer:
MITSUBISHI
Quantity:
852
Part Number:
M30622SAFP
Manufacturer:
MITSUBISHI
Quantity:
20 000
Part Number:
M30622SAFP#U5
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Interrupt
56
Figure 1.11.7. Operation of saving registers
The operation of saving registers carried out in the interrupt sequence is dependent on whether the
content of the stack pointer, at the time of acceptance of an interrupt request, is even or odd. If the
content of the stack pointer (Note) is even, the content of the flag register (FLG) and the content of the
program counter (PC) are saved, 16 bits at a time. If odd, their contents are saved in two steps, 8 bits at
a time. Figure 1.11.7 shows the operation of the saving registers.
Note: When any INT instruction in software numbers 32 to 63 has been executed, this is the stack pointer
indicated by the U flag. Otherwise, it is the interrupt stack pointer (ISP).
[SP] – 5 (Odd)
[SP] – 4 (Even)
[SP] – 5 (Even)
[SP] – 3 (Even)
(1) Stack pointer (SP) contains even number
[SP] – 3(Odd)
[SP] – 2 (Even)
[SP] – 1(Odd)
[SP]
(2) Stack pointer (SP) contains odd number
[SP] – 4(Odd)
[SP] – 2(Odd)
[SP] – 1 (Even)
[SP]
Note: [SP] denotes the initial value of the stack pointer (SP) when interrupt request is acknowledged.
Address
Address
(Odd)
After registers are saved, the SP content is [SP] minus 4.
(Even)
Flag register
Flag register
Program counter (PC
Program counter (PC
Program counter (PC
Program counter (PC
(FLG
(FLG
Flag register (FLG
Flag register (FLG
Stack area
Stack area
H
H
)
)
counter (PC
counter (PC
Program
Program
L
L
)
)
M
M
L
L
)
)
)
)
H
H
)
)
Sequence in which order
registers are saved
Sequence in which order
registers are saved
Finished saving registers
in two operations.
(3)
(4)
(1)
(2)
(2) Saved simultaneously,
(1) Saved simultaneously,
Finished saving registers
in four operations.
all 16 bits
all 16 bits
Saved simultaneously,
all 8 bits
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M16C / 62A Group
Mitsubishi microcomputers

Related parts for M30622SAFP