EasyManua.ls Logo

Olivetti Programma 101 - Multiplication; X Instruction

Olivetti Programma 101
62 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
x
Multiplication
An instruction containing the operation "
x
" directs the computer to multiply the contents of
the selected register (multiplicand) by the contents of the A register (multiplier) and is
executed in two phases:
1ST PHASE
Transfer the contents of the addressed register to M, while retaining them
in the original register.
2ND PHASE Multiply the contents of M by the contents of A. obtaining in A the product
truncated according to the setting of the Decimal Wheel. The complete
product is in R. M contains the multiplicand.
___________________________________________________________________________
RESULTS
INSTRUCTION PHASE 1 PHASE 2 TRUNCATED COMPLETE ____________
x A x M A R
R x R
M A x M A R
A x A
M A x M A R
B x b
M A x M A R
B x B
M A x M A R
c x c
M A x M A R
e x C
M A x M A R
d x d
M A x M A R
D x D
M A x M A R
e x e
M A x M A R
E x E
M A x M A R
F x f
M A x M A R
F x F
M A x M A R
___________________________________________________________________________
EXAMPLE: Decimal Wheel set at 2.
______________________________________
M A R B _
BEFORE 5 7.25 9.00 3.25
B x
AFTER 3.25 23.56 23.5625 3.25
___________________________________________________________________________
An example of using this instruction manually would, be:
Enter the multip1ier dn the keyboard and transfer to the A register by depressing "
” 7.25
Enter the multiplicand on the keyboard and depress the "x" key . . . . . . . . . . . . . . . . 3.25
x
The product will print automatically only when the instruction is performed manually . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23.56 A
It should be noted that the complete product is available in the R register and will be printed
by depressing the keys R
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
23.5625 R
- 26 -

Related product manuals