0
\$\begingroup\$

i know carry and sum from all the sources i studied in YT (particularly KNOWLEDGE GATE) except neso academy that teaches using difference and borrow in same place as carry and sum

Sources:-

Knowledge Gate

Neso Academy

What are the main difference between these two? are they totally different or its just a different way to refer those.

\$\endgroup\$
1
  • \$\begingroup\$ In two's complement addition is the same as subtraction except for subtraction you invert all the bits of the second number and carry a 1 in, \$\endgroup\$ Mar 6, 2023 at 1:39

1 Answer 1

0
\$\begingroup\$

"Sum" is addition - when you add numbers using "manual" arithmetic, you may have to do a carry between columns.

"Difference" is subtraction - when doing subtraction in manual arithmetic you may have to borrow from the next column if the result would be negative.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.