ee352_hw2_sol

# ee352_hw2_sol - EE 352 Homework 2 Spring'07 Redekopp Name...

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

EE 352 Homework 2 Spring ’0 7 ● Redekopp Name: ___________________________________________ Due: Thurs. Jan. 31 st in class Score: ________ Note: Attach all work to receive full credit Arithmetic Operations 1.) Perform the following addition and subtracti on 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.) 0111 1001 c.) 0110 1111 d.) 0010 0001 +1101 1011 +1010 1110 +1100 1100 +0111 1001 1 1000 0001 1 0010 0111 1 0011 1011 1001 1010 n+n=n c out =1,c in =1 No Overflow p+n=n c out =1,c in =1 No Overflow p+n=p c out =1,c in =1 No Overflow p+p=n c out =0,c in =1 Overflow e.) 1000 0010 f.) 1101 0100 g.) 0111 0100 h.) 0101 1001 -1010 1111 -0011 1110 -0101 1011 -1010 0101 || || || || 1000 0010 1101 0100 0111 0100 0101 1001 +0101 0000 +1100 0001 +1010 0100 +0101 1010 + 1 + 1 + 1 + 1 1101 0011 1 1001 0110 1 0001 1001 1011 0100 n+p=n c out =0,c in =0 No Overflow n+n=n c out =1,c in =1 No Overflow p+n=p c out =1,c in =1 No Overflow n+n=p c out =0,c in =1 Overflow

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

View Full Document
2.) Perform the following hexadecimal operations and state whether signed overflow occurred .
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