Professional Documents
Culture Documents
By Nasir Mahmood
nasir.mahmood@seecs.edu.pk
nasirm15@gmail.com
8
Practice Question
9
Solution of Practice Problem
10
Solution of Practice Problem Contd..
11
Unsigned Binary Numbers Verses Signed
Numbers
● Unsigned Number
● Example. 10101
● Last digital is part of magnitude
● Unsigned Number
● Signed Number
● 10101 is 21 in decimal
● Last digital is a sign bit
● Signed Number
● 0 for Positive, 1 for Negative
● Three ways of representation
● Three ways of representation
● Sign Magnitude 10101 is -5 in
● Sign Magnitude decimal
● Signed r’s Complement
● Signed r’s Complement 10101 is -11
● Signed r-1’s Complement in decimal
13