Binary subtraction using 2's complement (in Hindi)
step1👉 find the 2's complement of the number to be subtracted.
step2👉 add the complement to the number from which the subtraction is required.
step3👉 drop the carry in the last position
step4👉 if the carry in the last position is 1 ,the result is positive .
step5 👉 if there is no 1 carry in the last position ,determine the 2;s complement of the result of subtraction and attached a minus sign
to it .
Comments
Post a Comment