Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Homework 4 with 2 Practice Problems on Introduction to Logic Design | ECE 130, Assignments of Electrical and Electronics Engineering

Material Type: Assignment; Class: Introduction to Logic Design; Subject: Electrical & Computer Eng.; University: Rose-Hulman Institute of Technology; Term: Unknown 1989;

Typology: Assignments

Pre 2010

Uploaded on 08/17/2009

koofers-user-980
koofers-user-980 🇺🇸

10 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
ECE 130 HW#4 – Due Monday, March 22.
Do not use a calculator! Show all work!
1. Complete the following table with the indicated 4-bit signed system representations:
Decimal
Value Unsigned
Binary Sign and
Magnitude 1’s
Complement 2’s
Complement
8
7
6
5
4
3
2
1
0
-1
-2
-3
-4
-5
-6
-7
-8
pf2

Partial preview of the text

Download Homework 4 with 2 Practice Problems on Introduction to Logic Design | ECE 130 and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

ECE 130 HW#4 – Due Monday, March 22.

Do not use a calculator! Show all work!

  1. Complete the following table with the indicated 4-bit signed system representations:

Decimal Value

Unsigned Binary

Sign and Magnitude

1’s Complement

2’s Complement

8 7 6 5 4 3 2 1 0

  1. Perform the following arithmetic problems in a 4-bit 2’s complement binary system. Convert the decimal values to their 2’s complement representation, calculate the result of binary addition, and then convert your answer back to decimal. Indicate when overflow/underflow has occurred.

a) 5 – 3

b) 3 – 5

c) 7 + -

d) 3 + 5

e) -3 – 5

f) -6 + -