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

Info icon This 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 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.
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 ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern