- Take the number in register A;
- find the value of the function for this number,
- and enter it in register B.
The coding is:
| —— | —— | 73 |
| A | 7654 | 61 |
| —— | —— | 762 |
| —— | —— | 543 |
| —— | —— | 75431 |
| 841 | 7654 | —— |
| A | 763 | 6421 |
| 8762 | B | 73 |
| —— | 8763 | 7 |
Without explaining this coding line by line, we can say that this is what happens:
The machine reads the argument in register A. The machine reads the argument in the table at which the value tape feed is resting.
It subtracts them, and thereby determines how far away the desired argument is.
The machine then turns the tape that required distance.
It checks that the new argument is the wanted argument.
It reads the value of the function entered at that point on the function tape.