{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Homework #5 - ECE 331 Microprocessors and Digital Systems...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
ECE 331 — Microprocessors and Digital Systems http://angel.msu.edu/ Instructor: Prof. N IHAR R. M AHAPATRA Solutions to Homework 5 Instructions: Solve the following end-of-chapter problems from the Microcontroller Theory and Applications: HC12 and S12 (second edition) required textbook. Chapter Problem Category Problem Number Textbook Page(s) Points 6 Fundamental 1 264 3 6 Fundamental 2 264 3 6 Fundamental 6 264 5 6 Advanced 1 265 2 6 Advanced 2 265 3 6 Advanced 4 265 6 Total Points 22 Fundamental-1. Both interrupts and resets are considered exceptions. That is, they cause a break in normal program flow. A reset is usually caused by a hardware or software malfunction. When a reset occurs, the processor is restarted from a known state. An interrupt is a break in normal program flow. An interrupt may be caused by a software malfunction, an internally generated hardware or software event, or an external hardware or software event. In response to an interrupt, the processor will perform an interrupt service routine specific for the interrupt that occurred.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}