The result is incorrect as sign extension was not considered. For signed multiplication, sign extension of operands is required before performing multiplication as for unsigned numbers.
Signed Multiplication (contd..)
For signed multiplication:
Extend the sign bit of both operands to fill the register.
Perform multiplication as for unsigned numbers.
The final product now represents a signed number in 2's complement form.
Example: (-13) × (+11)
-13 in 2's complement is 1 0 0 1 1
+11 in 2's complement is 0 1 0 1 1
After sign extension:
-13 = 1 1 1 1 1
Related topics: