## → **Binary Adding**

## ∴ **Rules of binary adding:-**

- 0+0= 0 sum of 0 with a carry of 0
- 0+1=1 sum of 1 with a carry of 0
- 1+0=1 sum of 1 with a carry of 0
- 1+1=0 sum of 0 with a carry of 1

→ **How to convert decimal into binary:**

**Convert the remaining by yourself**.

## Conversion Table

Decimal Number | Binary Equivalent |

0 | 0 0 0 0 |

1 | 0 0 0 1 |

2 | 0 0 1 0 |

3 | 0 0 1 1 |

4 | 0 1 0 0 |

5 | 0 1 0 1 |

6 | 0 1 1 0 |

7 | 0 1 1 1 |

8 | 1 0 0 0 |

9 | 1 0 0 1 |

10 | 1 0 1 0 |

11 | 1 0 1 1 |

12 | 1 1 0 0 |

13 | 1 1 0 1 |

14 | 1 1 1 0 |

15 | 1 1 1 1 |

**Fig:-Table of Decimal number to Binary Equivalent**

## → **Binary subtraction:-**

## • **Rules of binary subtraction:-**

- 0-0= 0
- 1-1= 0
- 1-0= 1
- 0-1= 1 with a borrow of 1
**Note**:-In binary 10-1=1, not 9