Introduction to Information Technology20795 marksNumerical: Binary subtractionBinary arithmetic and operations
Subtract 10010 from 10101. Verify answer with the help of decimal substraction.
Subtract 10010 from 10101. Verify answer with the help of decimal substraction. [5]
Binary Decimal Equivalent ---------------------------- $10101$ $16+0+4+0+1 = 21$ $10010$ $16+0+0+2+0 = 18$ We must compute $10101 - 10010$. --- Working right to left (bit 0 = LSB): Bit Minuend Subtrahend Operation Result -------------------------------------------- 0 1 0 $1 - 0$ 1 1 0 1 need borr...