HW2_solution - HW2 ECE 2504 Introduction to Computer...

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: HW2 ECE 2504 Introduction to Computer Engineering, Fall 2007 Homework 2 Due date: 5 Sep 07 Show all work. 1. Find the decimal equivalent of the following two's complement numbers: 1101010; 10000001; 01101110; 111111110; 10011001; 11000000 2. Perform the subtraction of the following unsigned decimal numbers by taking the 10's complement of the subtrahend: 5450 1451; 1856 7860; 30 80. HOMEWORK Page 1 3. Perform the subtraction of the following unsigned binary numbers by taking the 2's complement of the subtrahend: 11001 10001; 10110 1011; 1000 101000; 1101100 - 1101100. 4. Perform the addition of the following 8-bit two's complement numbers and show the decimal result: 10110011 + 00010010; 00110000 + 00110001; 01011010 + 10010010; 11010110 + 11111110 HOMEWORK Page 2 5. Perform the subtraction of the following 8-bit two's complement numbers and show the decimal result: 0101110 0111111; 10001101 11110111; 1100000000 1011111111; 11011011 - 10000000 6. What are the maximum positive and negative numbers that can be represented in 6-bit 2's complement form? Find the smallest negative value expressed in this form that when added to itself, the sum causes an overflow to occur. For this problem, smallest negative number means a negative value closest to zero. HOMEWORK Page 3 7. Decode the following ASCII code: 1000111 1001111 0100000 1001000 1001111 1001011 1001001 1000101 1010011 0100000 0100001 8. Convert (256.78352)10 to 32-bit floating point representation in standard IEEE format. HOMEWORK Page 4 9. Convert BC37A000H, which is a 32-bit floating point number in IEEE 754 format, to decimal. 10. Mano Problem 3-22. HOMEWORK Page 5 HOMEWORK Page 6 ...
View Full Document

Page1 / 6

HW2_solution - HW2 ECE 2504 Introduction to Computer...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online