• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

subtracting two binary numbers...

Thread starter #1
what is the best way of 'subtracting any two values in binary forms - using borrowing method' - without using 2's complement...

Regards,

Simran
 

Ratchit

Well-Known Member
#3
what is the best way of 'subtracting any two values in binary forms - using borrowing method' - without using 2's complement...

Regards,

Simran
Perhaps you would like to give some example problems. If a negative number is already in twos comlement form, then how are you going to not deal with twos complement?

Ratch
 

Pommie

Well-Known Member
Most Helpful Member
#5
You subtract them the same way you would in base 10. Start in the right column with 0-1 and borrow 2 from column two.

Like this,
Sub.png .

Mike.
 
Last edited:
Thread starter #7
i'm unable to find the answer... if anybody can help... (subtracting in binary form)...

100100100 - 000011011 = ?

i'm getting answer as : 100000001 which when verified comes wrong... (using borrowing method)...
 
Thread starter #9
thanks and sorry to everyone who tried to make me understand... but i still didnt got....

well, everything is OK. ... anyhow...

,


Simran
 
Last edited:

Latest threads

EE World Online Articles

Loading

 
Top