Examples of register use in multiplication
This is an example of multiplication:
Instruction: (with 4 decimal places)
Register M |
Register A |
Register R |
|
Before |
3.1415 |
5.7785 |
|
After |
3.1415 |
11.8701 |
11.87015775 |
If the operation has to be done with another register, the specified register is first copied into M and than the operation is performed. This is an example of multiplication of register B times register A.
Instruction: B(with 1 decimal place)
Register M |
Register A |
Register R |
Register B |
|
Before |
5.4 |
3.1 |
||
Before |
3.1 |
5.4 |
3.1 |
|
After |
3.1 |
16.7 |
16.74 |
3.1 |