ee101_hw5

ee101_hw5 - EE 101 Homework 5 Fall 09 Redekopp Name: _ Due:...

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

View Full Document Right Arrow Icon
1 EE 101 Homework 5 Fall ’0 9 ● Redekopp Name: _________________________________________ Lecture 9:30 / 12:30 / 2:00 Due: Tues. Oct. 20 th in class Score: ________ Show work to get full credit. Remember, use on only one side of the paper and staple them together. Only use a calculator to CHECK your work, not to DO your work. 1. (20 pts.) Perform the following addition and subtraction problems assuming 2’s complement numbers. State whether overflow does or does not occur for each problem. Justify your answer for why overflow does or does not occur. (You can easily check your work by converting to decimal.) a.) 1010 0110 b.) 0010 0001 +1101 1011 +0111 1001 c.) 1000 0010 d.) 0101 1001 -1010 1111 -1010 0101 2. (12 pts.) For binary subtraction we take the 2’s complement (1’s complement + 1) of the bottom number and add it to the top number. Hexadecimal subtraction can be performed by taking the 16’s complement (15’s complement + 1) of the bottom number and add it to the top number. Use this method to perform the hex subtraction problems below, which are the hex equivalents of questions c and d from the problem above. You should be able to check your work by converting your binary answers above to hex. [Hint: The 15’s complement is found by subtracting each digit of the
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.

Page1 / 4

ee101_hw5 - EE 101 Homework 5 Fall 09 Redekopp Name: _ Due:...

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