239
CHAPTER 19 INTERRUPT FUNCTIONS
Figure 19-12. Interrupt Request Acknowledge Timing (Minimum Time)
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
Remark
1 clock: 1/f
CPU
(f
CPU
: CPU clock)
Figure 19-13. Interrupt Request Acknowledge Timing (Maximum Time)
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
Remark
1 clock: 1/f
CPU
(f
CPU
: CPU clock)
19.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 (to 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.
Summary of Contents for mPD780973 Series
Page 2: ...2 MEMO ...
Page 66: ...66 MEMO ...
Page 98: ...98 MEMO ...
Page 138: ...138 MEMO ...
Page 164: ...164 MEMO ...
Page 182: ...182 MEMO ...
Page 204: ...204 MEMO ...
Page 244: ...244 MEMO ...
Page 262: ...262 MEMO ...
Page 278: ...278 MEMO ...
Page 290: ...290 MEMO ...