2079 7

BIT101 · 2079 · 5 marks

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]

Introduction to Information TechnologyChapter 2: Number Systems and Data RepresentationBinary arithmetic and operationsNumerical: Binary subtraction

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...