This preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full DocumentThis preview has intentionally blurred sections. Sign up to view the full version.
View Full 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 8bit 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 8bit 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 6bit 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 32bit floating point representation in standard IEEE format. HOMEWORK Page 4 9. Convert BC37A000H, which is a 32bit floating point number in IEEE 754 format, to decimal. 10. Mano Problem 322. HOMEWORK Page 5 HOMEWORK Page 6 ...
View
Full
Document
This note was uploaded on 03/24/2008 for the course ECE 2504 taught by Professor Klcooper during the Fall '08 term at Virginia Tech.
 Fall '08
 KLCooper

Click to edit the document details