Digital Logic20805 marksNumerical: binary and decimal complement arithmeticcompliments
Question Perform the following operations: a. (0111010)2 - (110011)2 using 2's complement b. (89344)10 - (98654)10 using 9's complement [2.5+2.5]
Question
Perform the following operations:
a. $(0111010)_2 - (110011)_2$ using 2's complement
b. $(89344){10} - (98654){10}$ using 9's complement
[2.5+2.5]
- Part (a): $(0111010)2 - (110011)2$ using 2's complement - Part (b): $(89344){10} - (98654){10}$ using 9's complement --- - Minuend: $0111010$ (7 bits) - Subtrahend: $110011 \to 0110011$ (padded to 7 bits) 1's complement (flip bits): $$0110011 \to 1001100$$ Add 1: $$1001100 + 1 = 1001101$$ Colum...