EEE 3115/CSE237: Digital Electronics / DPT
EEE 3115/CSE237: Digital Electronics / DPT
Example:
1001.012 = [ (1 )× 23 ] + [( 0 )× 22 ] + [( 0 ) × 21 ] + [( 1 ) × 20 ] + [( 0 ) × 2-1 ] + [ ( 1 ) × 2-2 ]
– = [ 1 × 8 ] + [ 0 × 4 ] + [ 0 × 2 ] + [ 1 × 1 ] + [ 0 × 0.5 ] + [ 1 × 0.25 ]
= 9.2510
Octal and Hexadecimal
Two other number systems used in digital electronics include the octal and hexa
decimal systems. In the octal system (base 8), there are 8 allowable digits: 0, 1,
2, 3, 4, 5, 6, 7.
In the hexadecimal system, there (base 16) there are 16 allowable digits: 0, 1, 2,
3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F. Here are example octal and hexadecimal
numbers with decimal equivalents: