EECE 320 Homework 1, Fall 2014
American University of Beirut · Digital Systems Design · 1 page · Dr. Lama Hamandi
Stuck on a question? A tutor can walk you through it.
More EECE 320 files
Show the text of this homework
American University of Beirut
Department of Electrical and Computer Engineering
EECE 320 – Digital Systems Design
Assignment 1
Due 19-9-14 at 11am in class
Suggested problems: Solve the drill problems of chapter 2.
Problem 1: Complete the following table. Numbers are signed except when they are
listed in the Unsigned Binary column. Use the necessary number of bits.
Decimal
Octal
Hex.
Unsigned
Binary
Signed-
Magnitude
representation
Signed 1’s
complement
representation
Signed 2’s
complement
representation
+51.75
-42.125
+75
-63
11100101
10110100
01011001
Problem 2: Find the 9’s complement of the decimal number 5678.
prove that 7261 – 5678 can be found as 7261 plus the 10’s complement of 5678.
Problem 3: Assuming those are signed numbers written in 2’s complement
representation compute using 2’s complement arithmetic, and using 8 bits:
a) 011011 – 110110
b) 10110 – 101011
Problem 4: Add the following Hexadecimal numbers:
4B5C7A5F + 2CBF678A
Problem 5: Add the following BCD numbers and verify your result by performing the
corresponding decimal operation (hint: if the sum of two BCD digits is larger than 9 add
6 to this sum to get the result as a BCD digit):
1001+0101;
0110+0111;
1001+1000;
0111 1001 + 0110 0111