Lecture6worksheet - Question 4. How many bits does it take...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
EE319K Lecture 6 in class worksheet Question 1 . Assume a switch is interfaced to Port T bit 5. Assume PT5 is initialized as an input. Write assembly code that reads the switch and branches to location ItsSet if the switch is set (PT5 is 1). Question 2. Write friendly code that makes Port T bit 7 (PT7) an output. Question 3. Assume PH2 is an output. Write friendly code that clears bit 2 of Port H.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Question 4. How many bits does it take to store the result of two unsigned 8-bit numbers added together? Question 5. How many bits does it take to store the result of two unsigned 8-bit numbers subtracted? Question 6. How many bits does it take to store the result of two unsigned 8-bit numbers multiplied together?...
View Full Document

This note was uploaded on 03/28/2011 for the course EE 319K taught by Professor Bard during the Spring '08 term at University of Texas at Austin.

Ask a homework question - tutors are online