
2-21
CPU
An even higher interrupt response speed can be realized by assigning only one factor or only a few factors to a
single interrupt level.
Fig. 2-5-6 shows the interrupt sequence flow when assigning one factor to each interrupt level.
Fig. 2-5-6 Interrupt Sequence Flow
[Nested Interrupts]
When a level interrupt occurs, nested interrupts can be prohibited by clearing IE of the PSW. However, nested
interrupts can be achieved even while processing level interrupts by setting IE to "1" during processing. However,
in order for nested interrupts to occur, the interrupts must have a higher priority than interrupt mask level IM2 to
IM0 of the PSW at that time. (The GnICR interrupt priority level LV2 to LV0 is smaller than the PSW interrupt
mask level IM2 to IM0.)
When non-maskable interrupts occur, nesting of level interrupts and non-maskable interrupts is prohibited until the
interrupt handler is finished by execution of the RTI instruction.
[Interrupt Acceptance Timing]
If an interrupt request occurs part-way through the execution of an instruction, even instructions which require
multiple execution cycles such as multiply/divide and other instructions are aborted if possible and the interrupt is
accepted. The aborted instruction is executed again after returning from interrupt processing. Aborting these
instructions sets the interrupt acceptance prohibited interval to 11 cycles or less. (The maximum interrupt prohibited
interval of 11 cycles occurs when saving or restoring all registers with the MOVM, CALL or RET instructions.
This occurs only for special cases such as task context switching.)
3 Cycles
Program
Handler (pre-processing)
Interrupt
max. 11 Cycles
Interrupt processing by hardware
RTI
Interrupt
handler
Handler (post-processing)
1
5
6
Processing for each factor
Summary of Contents for MN103001G/F01K
Page 1: ...MICROCOMPUTER MN1030 MN103001G F01K LSI User s Manual Pub No 23101 050E ...
Page 2: ......
Page 4: ......
Page 6: ......
Page 8: ......
Page 9: ...Table of Contents List of Figures and Tables 0 ...
Page 26: ...xviii ...
Page 27: ...1 0 1 General Specifications ...
Page 35: ...2 CPU 2 ...
Page 57: ...3 Extension Instruction Specifications 3 ...
Page 96: ...Extension Instruction Specifications 3 40 ...
Page 97: ...4 Memory Modes 3 4 ...
Page 102: ...Memory Modes 4 6 ...
Page 103: ...5 Operating Mode 5 ...
Page 107: ...6 Clock Generator 6 13 ...
Page 111: ...7 Internal Memory 7 ...
Page 114: ...Internal Memory 7 4 ...
Page 115: ...8 Bus Controller BC 8 ...
Page 189: ...9 Interrupt Controller 9 ...
Page 220: ...Interrupt Controller 9 32 ...
Page 221: ...10 8 bit Timers 9 10 ...
Page 254: ...8 bit Timers 10 34 ...
Page 255: ...11 16 bit Timers 11 ...
Page 292: ...16 bit Timers 11 38 ...
Page 293: ...12 Watchdog Timer 11 12 ...
Page 302: ...Watchdog Timer 12 10 ...
Page 303: ...13 Serial Interface 13 ...
Page 354: ...Serial Interface 13 52 ...
Page 355: ...14 A D Converter 14 ...
Page 367: ...15 I O Ports 15 ...
Page 431: ...16 Internal Flash Memory 16 ...
Page 439: ...17 17 Ordering Mask ROM ...
Page 442: ...Ordering Mask ROM 17 4 ...
Page 443: ...Appendix ...