How to do Binary Subtraction ? Bit Manipulation

Опубликовано: 26 Декабрь 2021
на канале: Firmware
686
13

Here we learn the method of doing subtraction of two binary numbers.
The method is quite similar to how we subtract two decimal numbers. The difference in them is that when it comes to binary subtraction, when we borrow a one from the nearest set bit, the borrower becomes two.

See subtraction problem here:    • How to Subtract 1 using Bit Manipulat...  

See Bit Manipulation Interview Preparation Series here:
   • Bit Manipulation Interview Series  

You could follow us on Facebook and Instagram:
Facebook :   / firmwarecode  
Instagram :   / firmwarecode  

#bitmanipulation #bitalgorithm