Number Systems and Logic Gates
Number Systems and Logic Gates
Number Systems and Logic Gates
Gates
Embedded System and Robotics MOOC
e-Yantra Team
Content
Digital System
Number System
Conversion Table
1 11 21 31 41 51 61 71 81 91
2 12 22 32 42 52 62 72 82 92
3 13 23 33 43 53 63 73 83 93
4 14 24 34 44 54 64 74 84 94
5 15 25 35 45 55 65 75 85 95
6 16 26 36 46 56 66 76 86 96
7 17 27 37 47 57 67 77 87 97
8 18 28 38 48 58 68 78 88 98
9 19 29 39 49 59 69 79 89 99
10 20 30 40 50 60 70 80 90 100
3-bit Binary 4-bit Binary 4-bit Binary
Decimal 10 0-9
Binary 2 0,1
Octal 8 0-7
Hexadecimal 16 0-9, A to F
Conversion table
Binary to Hexadecimal conversion
● All the registers are 8-bit (8 bit binary value)
● Consider e.g., 11110110
7 6 5 4 3 2 1 0
1 1 1 1 0 1 1 0
● Group 4-bits
● Represent using hex number
1111 0110
F 6
Hex 00 FF
● Truth Table:
Input Output
0 1
1 0
AND Gate
● Truth Table: 0 0 0
0 1 0
1 0 0
1 1 1
OR Gate
● Truth Table: 0 0 0
0 1 1
1 0 1
1 1 1
EX-OR Gate
● Truth Table: 0 0 0
0 1 1
1 0 1
1 1 0
References
https://www.circuitcrush.com/logic-gates-basics-tutorial/