Homework #2 - 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
http://angel.msu.edu/ Instructor: Prof. N IHAR R. M AHAPATRA Solutions to Homework 2 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 2 Fundamental 1 70 2 2 Fundamental 3 70 2 2 Fundamental 5 70 2 2 Fundamental 9 70 2 2 Fundamental 10 70 3 2 Advanced 2 71 3 2 Advanced 7 71 3 2 Advanced 9 71 5 2 Challenging 1 71 3 2 Challenging 5 72 5 Total Points 30 Fundamental-1. LDAA $6700 Fundamental-3. Index register X must have $7000. Fundamental-5. After the ADDA instruction is executed, accumulator A will hold $00. CCR flags will have values as follows: H = 0, Z = 1, N = 0, C = 1. Fundamental-9. The instruction first increments the contents of the index register X by $2 and stores the contents of accumulator A in the memory location specified by the revised value in register X. Fundamental-10.
Background image of page 1

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

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

This note was uploaded on 11/17/2010 for the course ECE 331 taught by Professor M.shanblatt during the Fall '08 term at Michigan State University.

Page1 / 2

Homework #2 - ECE 331 Microprocessors and Digital Systems

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online