![Olivetti Programma 101 Reference Manual Download Page 24](http://html1.mh-extra.com/html/olivetti/programma-101/programma-101_reference-manual_3789955024.webp)
+
Addition
An instruction containing the operation "
+
" directs the computer to add the contents of the
selected register (addend) to the contents of the Aregister (augend) and is executed in two
phases:
1ST PHASE
Transfer the contents of the selected register (addend) to M, while retaining
them in the original register.
2ND PHASE
Add the contents of M to the contents of A (augend), obtaining in A the
sum truncated according to the setting of the Decimal Wheel. The complete
sum is in R. M contains the addend.
___________________________________________________________________________
RESULTS
INSTRUCTION PHASE 1 PHASE 2 TRUNCATED COMPLETE______________
+
A + M
A
R
R +
R
M
A + M
A
R
A +
A
M
A + M
A
R
B +
b
M
A + M
A
R
B +
B
M
A + M
A
R
C +
c
M
A + M
A
R
C +
C
M
A + M
A
R
D +
d
M
A + M
A
R
D +
D
M
A + M
A
R
E +
e
M
A + M
A
R
E +
E
M
A + M
A
R
F +
f
M
A + M
A
R
F +
F
M
A + M
A
R
___________________________________________________________________________
EXAMPLE:
Decimal Wheel set at 2.
______________________________________
M
A
R
B _
BEFORE
5
7.2567
9.00
3.255
B+
AFTER
3.255 10.51
10.5117
3.255
___________________________________________________________________________
An example of using this instruction manually to add 2 factors would be:
Enter factor 1 on keyboard and transfer to A Register by depressing "
" . . . . 1.1532
Enter factor 2 on keyboard and add to A register by depressing "+". . . . . . . . 16.33236 +
Print sum by depressing key A
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17.48556 A
For this example the Decimal Wheel was set at 5.
- 24 -