ECED 2200 Lecture Notes - Lecture 7: Signed Number Representations, Binary Number, Radix

31 views2 pages

Document Summary

If given a decimal number first convert it to a binary number if we need to find it"s 2"s complement: the signed magnitude is the left most bit, signed bit is 0 if + and 1 if . If positive decimal number the signed/1"s/2"s complement remains the same. If negative decimal number the signed magnitude will have 1 in the left most bit: the 1"s/2"s complement will be found leaving the left most sign bit untouched. 2"s complements addition : two n-bit signed binary numbers in 2"s complement format are added by performing a binary addition of the two numbers, including the sign bits. If a carryover bit results from the leftmost bit, it is discarded: the leftmost bit of the result will give the sign of the sum. If the sign bit is a 1 we must take the 2"s complement of the result to get the real magnitude of the final answer (reference: digital circuit course notes)

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents