Digital Logic20785 marksNumerical: binary arithmetic and conversioncompliments
Carry out the following tasks: a. Perform 1's complement subtraction of 10101-100101 b. Represent decimal number 0.125 into its binary form [2.5+2.5]
Carry out the following tasks: a. Perform 1's complement subtraction of 10101-100101 b. Represent decimal number 0.125 into its binary form [2.5+2.5]
- Part (a): Subtraction $10101 - 100101$ using 1's complement method - Part (b): Convert decimal $0.125$ to binary --- - Minuend: $10101 = 21{10}$ - Subtrahend: $100101 = 37{10}$ Pad minuend to 6 bits: - Minuend: $010101$ - Subtrahend: $100101$ Flip all bits of $100101$: $$100101 \rightarrow 0110...