ECE 2504 Introduction to Computer Engineering, Fall 2007
Homework 2
Due date: 5 Sep 07
Show all work.
Find the decimal equivalent of the following two’s complement numbers: 1101010;
10000001; 01101110; 111111110; 10011001; 11000000
1.
Perform the subtraction of the following unsigned decimal numbers by taking the 10’s
complement of the subtrahend: 5450 – 1451; 1856 – 7860; 30 – 80.
2.
HW2
HOMEWORK Page 1

This
** preview**
has intentionally

**sections.**

*blurred***to view the full version.**

*Sign up*
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.
3.
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
4.
HOMEWORK Page 2