278
CHAPTER 17 INTERRUPT FUNCTIONS
Preliminary User’s Manual U13420EJ2V0UM00
Figure 17-11. Interrupt Request Acknowledge Timing (Minimum Time)
Remark
1 clock: 1/f
CPU
(f
CPU
: CPU clock)
Figure 17-12. Interrupt Request Acknowledge Timing (Maximum Time)
Remark
1 clock: 1/f
CPU
(f
CPU
: CPU clock)
17.4.3 Software interrupt request acknowledge operation
A software interrupt acknowledge is acknowledged by BRK instruction execution. Software interrupts cannot be
disabled.
If a software interrupt request is acknowledged, the contents are saved into the stacks in the order of the program
status word (PSW), then program counter (PC), the IE flag is reset (0), and the contents of the vector table (003EH,
003FH) are loaded into PC and branched.
Return from a software interrupt is possible with the RETB instruction.
Caution
Do not use the RETI instruction for returning from the software interrupt.
8 clocks
7 clocks
Instruction
Instruction
PSW and PC Save,
Jump to interrupt
servicing
Interrupt servicing
program
CPU processing
××
IF
(
××
PR = 1)
××
IF
(
××
PR = 0)
6 clocks
33 clocks
32 clocks
Instruction
Divide instruction
PSW and PC Save,
Jump to interrupt
servicing
Interrupt servicing
program
CPU processing
××
IF
(
××
PR = 1)
××
IF
(
××
PR = 0)
6 clocks
25 clocks
Содержание mPD780065 Series
Страница 2: ...Preliminary User s Manual U13420EJ2V0UM00 2 MEMO ...
Страница 10: ...10 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 22: ...22 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 134: ...134 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 154: ...154 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 160: ...160 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 186: ...186 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 326: ...326 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 342: ...342 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 350: ...350 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...