Let and be two complement numbers. Their product in complement is
View worked solution
Answer: A
To find the product of two -bit 's complement numbers and , we convert them to decimal, multiply, and convert the result back to -bit 's complement:
- Convert to decimal: Since the MSB is , is negative. Its magnitude is the 's complement of , which is . Thus, .
- Convert to decimal: Since the MSB is , is positive. Thus, .
- Calculate the product: .
- Convert back to -bit 's complement: The binary representation of is . Taking its 's complement gives .
Therefore, the product in 's complement is .
Free practice · Your answers on this page are not saved.
