21.07.2015 Views

M16C User Manual.pdf

M16C User Manual.pdf

M16C User Manual.pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Address Match InterruptMitsubishi microcomputers<strong>M16C</strong> / 62 GroupSINGLE-CHIP 16-BIT CMOS MICROCOMPUTERAddress match interrupt routine[1] Storing registers[2] Determining the interrupt addressAddress match 0?YesAddress match 0 programNoAddress match 1?YesAddress match 1 programNo[3] Rewriting the stackRestoring registersREITHandling an errorExplanation:[1] Storing the contents of the registers holding the main program status to be kept.[2] Determining the interrupt addressDetermining which factor generated the interrupt.[3] Rewriting the stackRewriting the return address.Figure 2.12.5. Overview of the address match interrupt handling routine433

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!