Tutorial1 Number Systems and Codes
Tutorial1 Number Systems and Codes
(ECE/EEE/INSTR F215)
Tutorial 1
7/8/24
(547.634)8 = (359.8047)10
Hexadecimal to Decimal
(5A3F.4C9)16 = (23103.2990)10
◦ Fraction
◦ Multiplication by r and accumulate the integers
◦ Binary
◦ Octal
◦ Hexadecimal
(367.625)10 = (557.5)8
(367.625)10 = (16F.A)8
0 0 1 0 1 1 0 1 1 0 1 0
1 3 3 2
7 6 2 4
0 0 1 0 1 1 0 1 1 0 1 0
2 D A
Subtraction
18
Binary Arithmetic
Multiplication
10001010 2 = 27 × 1 + 23 × 1 + 21 × 1
= 128 + 8 + 2
= 138 10
19