Unit 4
Unit 4
Digital Electronics
--------------------------------------------------------------------
Code Conversions:
Converting other number systems to Binary number system:
Octal to Binary:
Decimal to Binary:
Hexadecimal to Binary:
Converting other number systems to Octal number system:
Binary to Octal
Decimal to Octal
Hexadecimal to Octal
= (4x1)+(2x1)+(1x0)
= 4+2 +0
= 6
64+32+16+8+4+1=125
Binary format of 125 is 1111101
1. Addition:
A+B=C
A is called Augend
B is called Addend
First number 1 1 1 . 1 1
Second number 1 1 . 1
Carry bits 1 1 1 1
Final result 1 0 1 1 . 0 1
First number 1 1 0 . 1 1
Second number 0 . 1
Carry bits 1
Final result (Sum) 1 1 1 . 0 1
Q7: Find the sum of (8)10 and (9)10. Show the sum in binary.
First number 1 0 0 0
Second number 1 0 0 1
Carry bits 1
Final result (Sum) 1 0 0 0 1
--------------------------------------------------------------------
Topic: Binary Subtraction
A-B
A Minuend
B Subtrahend