These exercises in Atlas Basic Language (ABL) are intended to be used in conjunction with the Atlas 1 Programming Manual, the current version of which is document CS 348A. The relevant chapter of the latter manual is indicated at the beginning of each set of examples.
Solutions are given to all the examples. In some cases alternative solutions are presented to illustrate a particular technique. There is generally more than one possible solution to a given exercise and the solutions provided are, therefore, to be regarded only as guides. The reader should, of course, attempt to complete a solution of his own before referring to those given.
Most of the exercises are short pieces of programming and should prove useful as parts of much larger computations, There are, however, examples of complete programs which illustrate the more comprehensive requirements in running a problem on Atlas. Flow diagrams are given in the solution of some of the more complex problems.
All working space used in the store must be addressed. The contents of an address are denoted by enclosing the address in round brackets, Thus
The contents of an address after the performance of an instruction is indicated by an apostrophe. Thus the action of the instruction
113 4 0 11.4
is denoted by
(11.4)' = b4
Similarly
121 12 0 3
is denoted symbolically by
b12' = 3
All examples are independent unless specifically stated otherwise.