Now that we have discussed single digit binary multiplication, let talk about multiple digit binary multiplication. Before we discuss binary multiplication, let's talk about decimal multiplication, first.
Let us consider the following:
| (8.16) | |||
| (8.17) | |||
| (8.18) |
Of course, there is nothing really surprising in the previous derivation. It is, however, important to understand it anyway. Next, we present an example in binary multiplication.
| (8.19) | |||
| (8.20) |
The reason why
is exactly why
in base 10.
When written in vertical form, the same multiplication can be done as follows:
| num1 | 1 | 0 | 1 | 1 | |||||
| num2 | 0 | 1 | 0 | 1 | |||||
| leftmost | 1 | 0 | 1 | 0 | 0 | 0 | |||
| second rightmost | + | 1 | 0 | 1 | 0 | ||||
| partial sum | 1 | 1 | 0 | 0 | 1 | 0 | |||
| rightmost | + | 1 | 0 | 1 | |||||
| product | 1 | 1 | 0 | 1 | 1 | 1 |