![background image](http://html1.mh-extra.com/html/olivetti/programma-101/programma-101_reference-manual_3789955034.webp)
Constants
Constants in Registers
Programma 101 can store numeric values (e.g. constants) to be used within the program on
the magnetic card.
Numeric values entered into the registers 0, E and F, or their splits, can be directly stored
together with the program on the magnetic card when the RECORD PROGRAM switch is ON
(in). When the card is read, the same values are retrieved from the card and recorded into the
original registers.
This feature provides the capability of storing on the card:
•
up to 3 values of 22 digits each; or
•
up to 6 values of 11 digits each (or any combination thereof).
When program instructions overflow from F to 0, values can be stored only in those registers,
or their splits, not occupied with instructions. This method is primarily useful for values with
many digits and/or repeatedly utilized throughout the program.
Having keyed in a program from the keyboard or having loaded a program from a magnetic
card:
1.
Check that the RECORD PROGRAM and PRINT PROGRAM switches are OFF (out).
2.
Enter the constant figures that are to be stored and transfer them to their appropriate
registers.
EXAMPLE:
to store - 17.366 in the f register, depress keys-,1, 7, .,3,6,6 in succession;
touch keys F/
in order. The constant - 17.366 is now stored in the f register.
3.
Repeat this procedure for each constant to be stored. After all constants have been
transferred to their appropriate registers, to store the program and the new constants
permanently, turn RECORD PROGRAM switch ON (in) and insert the magnetic card into the
computer. The program and the contents of registers d, 0, e, E, f and F are now recorded
on the magnetic card for subsequent use.
- 34 -