Multiplication With Signed Numbers
Learn how to perform multiplication with two's complement numbers.
We'll cover the following
Multiplication technique
To multiply two’s complement numbers we employ the same technique we used in the lesson Multiplication in Binary, with some minor changes.
Before carrying out the multiplication, we sign-extend the number to twice as many bits. This simply means that we add copies of the sign bit to the left of the number, where is the number of bits in the original number. For example:
would be sign-extended to .
After this, we carry out the multiplication as before. We take the least-significant bits of the product as our final answer.
Get hands-on with 1400+ tech skills courses.