SYJC - Number Systems
SYJC - Number Systems
Presentation prepared by
Remember
Steps: (for Integers and Fractions) this !
1. Write the given Binary number
2. Below each number, write the corresponding
Binary weight (power)
3. Multiply the Binary number and its weight
4. Add the remaining numbers
Ms. Ankita Nagwekar, Incharge, Electronics
1. Binary to Decimal Conversion
Ques.
Remember
this !
Remember
this !
3. EBCDIC codes:
EBCDIC stands for Extended BCD
Interchange Code.
EBCDIC is 8-bit code.
Ms. Ankita Nagwekar, Incharge, Electronics
Part – I I
Binary Arithmetic
In this part, we will be studying
o Binary Addition
o Rules of Binary addition
o Signed Binary Numbers
o Binary Subtraction
o Methods of Binary Subtraction (1’s and 2’s
complement methods)
A B SUM CARRY
0 0 0 0
0 1 1 0
1 0 1 0
1 1 0 1
Steps:
1. Find the binary equivalent of A and B
2. Find the 1’s comp of B
3. Find: A + 1’s comp of B
4. If carry = 1; then answer is positive;
Add this End Around Carry (EAC)
If carry = 0; then answer is negative;
So again find 1’s comp
Steps:
1. Find the binary equivalent of A and B
2. Find the 2’s comp of B
3. Find: A + 2’s comp of B
4. If carry = 1; then answer is positive;
Discard this End Around Carry (EAC)
If carry = 0; then answer is negative;
So again find 2’s comp
Ms. Ankita Nagwekar, Incharge, Electronics
Binary Subtraction using
2’s complement method
Ques. Perform 12 – 8 using 2’s comp