Number Systems: By: Ms. Kalpani Manatunga
Number Systems: By: Ms. Kalpani Manatunga
Representation of Numbers
Integer
o
o
Computer Notation
12.65 0.1265*102
Mantissa
15.23 * 10 4
Radix /base
Exponent
ASCII (American
Standard Code for
Information Interchange)
o
Binary Addition
Rules of Binary Addition
0+0=0
0+1=1
1+0=1
1 + 1 = 0, and carry 1 to the next more significant bit
Try out these additions:
o
o
00011010 + 00001100 = ?
00010011 + 00111110 = ?
Binary Subtraction
Rules of Binary Subtraction
0-0=0
0 - 1 = 1, and borrow 1 from the next more significant bit
1-0=1
1-1=0
Try out these subtractions:
o
o
00100101 - 00010001 = ?
00110011 - 00010110 = ?
1s & 2s Complements
Store the integer -70 in a byte using the
two's complement notation.