{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

hw6_solution

# hw6_solution - ECE331 SS-08 HOMEWORK#6 Solution Problems...

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

ECE331 SS-08 HOMEWORK #6 Solution Problems from the textbook Chapter 2: Fundamental: 1. Memory mapped I/O partitions the address space into memory portion and I/O port portion. Advantages: Instructions used for operating on memory can be used. Also, no extra pins required. Disadvantages : Loss of memory space. In Isolated I/O, extra pin determines whether the address bus value is meant as the memory or I/O address. Advantages: Large I/O space. Disadvantages: Extra pin required. Separate instructions required for I/O. 2. DDRC establishes the directionality of a bi-directional port. For pins 6 and 7 as input, load \$3F into the DDRC. The address of DDRC is \$0006. 3. Fundamental-6: The stack is an invaluable tool for temporary storage for cases illustrated in the problem. By storing the contents of the accumulator to the stack and retrieving them after required instructions are processed, we can safely restore the accumulator contents. The required instructions before the subroutine are PSHA, PSHB and PSHY.

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• 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.

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

• 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.

Dana University of Pennsylvania ‘17, Course Hero Intern

• 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.

Jill Tulane University ‘16, Course Hero Intern