518
CHAPTER 22 INTERRUPT FUNCTIONS
Figure 22-14. Interrupt Request Acknowledge Timing (Minimum Time)
Remark
1 clock: (f
CPU
: CPU clock)
Figure 22-15. Interrupt Request Acknowledge Timing (Maximum Time)
Remark
1 clock: (f
CPU
: CPU clock)
22.4.3 Software interrupt request acknowledge operation
A software interrupt request is acknowledged by BRK instruction execution. Software interrupt cannot be
disabled.
If a software interrupt is acknowledged, the contents of program status word (PSW) and program counter (PC)
are saved to stacks, in this order. Then the IE flag is reset (to 0), and the contents of the vector tables (003EH
and 003FH) are loaded into PC and branched.
Return from the software interrupt is possible with the RETB instruction.
Caution Do not use the RETI instruction for returning from the software interrupt.
f
CPU
1
Instruction
Divide Instruction
PSW and PC Save,
Jump to Interrupt
Servicing
6 Clocks
Interrupt
Servicing
Program
33 Clocks
32 Clocks
CPU Processing
xxIF
(xxPR = 1)
xxIF
(xxPR = 0)
25 Clocks
f
CPU
1
Instruction
Instruction
PSW and PC Save,
Jump to Interrupt
Servicing
6 Clocks
Interrupt
Servicing
Program
8 Clocks
7 Clocks
CPU Processing
xxIF
(xxPR = 1)
xxIF
(xxPR = 0)
Summary of Contents for PD78076
Page 2: ...2 MEMO ...
Page 12: ...12 MEMO ...
Page 48: ...48 MEMO ...
Page 64: ...64 MEMO ...
Page 82: ...82 MEMO ...
Page 100: ...100 MEMO ...
Page 130: ...130 MEMO ...
Page 180: ...180 MEMO ...
Page 222: ...222 MEMO ...
Page 248: ...248 MEMO ...
Page 288: ...288 MEMO ...
Page 308: ...308 MEMO ...
Page 364: ...364 MEMO ...
Page 494: ...494 MEMO ...
Page 526: ...526 MEMO ...
Page 544: ...544 MEMO ...
Page 558: ...558 MEMO ...
Page 580: ...580 MEMO ...
Page 596: ...596 MEMO ...
Page 598: ...598 MEMO ...
Page 626: ...626 MEMO ...