ECEN248 Lab 4

ECEN248 Lab 4 - Lab 4: Signed Numbers Derek W. Johnson ECEN...

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

View Full Document Right Arrow Icon
Lab 4: Signed Numbers Derek W. Johnson ECEN 248-506 Aaron Hill February 22, 2008
Background image of page 1

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

View Full DocumentRight Arrow Icon
This lab will increase the students understanding of the methods for representing signed numbers in binary. The lab focuses on the Two’s Complement method and shows the student the benefits of the method through the design of signed adders and subtracters. Design 1. Negation (Two’s Complement) The first steps in designing a two’s complement negator is to remember the formula for the two’s complement representation of a number and write out the truth table. To find the negative two’s complement of a number, first negate every bit of the number, and then add one to the sum. Table 1: Two’s Complement Truth Table X 3 X 2 X 1 X 0 S 3 S 2 S 1 S 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 1 0 1 1 1 0 0 0 1 1 1 1 0 1 0 1 0 0 1 1 0 0 0 1 0 1 1 0 1 1 0 1 1 0 1 0 1 0 0 1 1 1 1 0 0 1 1 0 0 0 1 0 0 0 1 0 0 1 0 1 1 1 1 0 1 0 0 1 1 0 1 0 1 1 0 1 0 1 1 1 0 0 0 1 0 0 1 1 0 1 0 0 1 1 1 1 1 0 0 0 1 0 1 1 1 1 0 0 0 1 The equations for each sum bit can be found by examining the truth table. S
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/29/2008 for the course ECEN 248 taught by Professor Lu during the Spring '08 term at Texas A&M.

Page1 / 6

ECEN248 Lab 4 - Lab 4: Signed Numbers Derek W. Johnson ECEN...

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

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