We shall describe the machine by first explaining the behaviour of another machine obtained by omitting from the Mark II machine a number of its parts and facilities. This machine will be called the `reduced machine'. The full Mark II machine can then be described in terms of a number of modifications of the reduced machine. Programmes made up for the reduced machine can actually be run on the full machine. For the benefit of those who know the structure of the whole machine we may say that the reduced machine is obtained by omitting the wheel, the B tube and the multiplier, the input and output, and using only a forty digit accumulator and a selection of functions.
The state of the reduced machine may be described by
We are not however interested in the state of the machine at every moment from a programming point of view. We shall be content to know its state at isolated moments such that we can reasonably say that the machine has carried out one `step' between two consecutive such moments. Fortunately the construction of the machine admits of our choosing such moments satisfactorily. They are the moments where the so called `prepulses' or `completion signals' occur. The state of the machine at one prepulse is completely determined by its state at the previous one.2
There is thus a function such that if
,
,...,
,...are the
consecutive states of the machine (at prepulses) then
for each
.
It remains to describe the function
. It is usual to
describe it in terms of `obeying an instruction'. The original
state
of the machine determines an instruction
, and this instruction gets `obeyed', i.e. the final
state
or
is determined by
and
. This is simply a way of saying
that
can
be written in the form
. We may
describe
as `the result of obeying the
instruction I when the machine is in state
'. The step
from writing
to writing
is not by itself a very helpful one, for any function
could be expressed in this form (e.g. even if
always
had the same value for every
). But there are
restrictions on the form of
which do make this step
helpful. The instruction consists of two parts, the line name
and the function symbol. The restriction on
may now be
stated as follows.
does not differ from
in any part of the electronic store except in the
line-pair named in I. Further, this is the only part of the
store whose content is relevant to any changes which do take
place.
The function
must be described by giving its
form for the various function symbols case by case. The
instruction
is also known as the `content of the
P.I. line'.
is obtained as follows. Add one to
the content of control (I.N.). This gives the name of the line
whose content is
. The line-pair name is contained
in the first two (teleprint-) characters of
, and
the function symbol in the last two. The function symbol
consists of one of the characters / or T followed by a
second character. This permits us 64 function symbols but (in
the reduced machine) we shall assume that only the nine listed
below ever occur. In the equations which we give S represents
the content of the named line interpreted as an integer (or more
strictly as a residue mod
), likewise A represents the
content of the accumulator, and C that of the I.N. line. This
last is reckoned modulo
. Dashed letters refer to the
contents of these after the instruction has been obeyed. The
equations
,
,
are to be understood
wherever
,
,
are respectively not mentioned in
the equations.
We shall frequently use the word `line' for line-pair in cases where it is evident that a long line is meant. We shall use `short line' when we wish to emphasise that a long line is not meant.
Function symbol | Equations |
/H |
![]() ![]() |
![]() |
|
/P |
![]() |
/S |
![]() |
T/ |
![]() |
T: |
![]() |
TI |
![]() |
TN |
![]() |
TF |
![]() |
TK |
![]() |
T£ | (no effect) |