|
The Life and Work of Konrad Zuse (by Horst Zuse) |
| Part 7 (continued): The Zuse KG |
| Konrad Zuse referred to programs as Rechenplans (calculating plans). The Z4 made use of a unit called a Planfertigungsteil (program construction unit),(8) which was used to produce punch tapes containing instructions for the Z4 in a very easy way. For this reason, it was possible to learn the programming of the Z4 in as little as three hours. | (8)Konrad Zuse also planned a Planfertigungsgerät (program translation unit), which was to be an extended version of the Z4s Planfertigungsteil (program construction unit). Konrad Zuses idea was to write programs in a symbolic way, like the notation in mathematics, and to then compile these high-level programs into the Z4s machine language. | |
| The Planfertigungsteil was already a part of the Z4 in 1945. We can see, that Konrad Zuse tried to make it as easy as possible to write programs for his machine. On the one hand the Planfertigungsteil allowed the programmer to use symbolic memory cells, instructions, and symbolic arithmetic operations for the creation of a program, and it also was possible to copy programs and to make corrections. On the other hand the instructions and data on a punch tape could easily be shown by lamps. | ||
|
|
Instruction A n: For example A 17. This reads the contents of memory cell 17 into the Register R1. If Register R1 is occupied, then the contents are loaded into Register R2. |
| Instruction S n: For example S 18. This writes the contents of Register R1 into the memory cell 18. | |
| The Registers R1 and R2 were used as arguments for the arithmetic operations. For dyadic operations the contents of both Registers R1 and R2 are used and the result is then stored in Register R1 (the contents of Register R2 are deleted). For monadic operations the contents of Register R1 are used and the result is stored in Register R1. | |
| Dyadic operations are: +, -, x, /, MAX, and MIN. | |
| Monadic operations are: x2, SQR(x), 1/x, | x | , sign(x), x*1/2, x*2, x*(-1), x*10, x*3, x*1/3, x*1/5, x*1/7, x*Pi, x*1/Pi. | |
| Instructions for comparison (x = 0, x >= 0, | x | = infinity ) test the value in Register R1 and set Register R1 to +1 if the condition is fulfilled, if not, then the contents of Register R1 are set to 1. This instruction was already planned in 1942, but lack of material made the realization impossible at that time. | |
| The conditional branch SPR was a special requirement by the ETH. The instruction SPR skips the punch tape to the instruction ST, if Register R1 contains +1 (if Register R1 contains 1 then there is no impact). | |
| Instruction UP: The Z4 had two punch tape readers. In the original version up to six such readers were planned (this was referred to as the subprogram technique). The instruction UP switches from the main punch tape reader (A0, see Fig.73 below) to the sub punch tape reader (At1). The instruction FIN causes a switch back to A0. | |
| Instructions for Output: ->, D, L, etc.: These instructions cause binary numbers to be converted into their decimal equivalents and the results to be displayed with lamps, on the MERCEDES typewriter as floating or fixed point numbers, or on the punch tape. | |
| Instructions for Input: <-, At1, etc.: These allow numbers to be read from the punch tape. |
|
Arithmetic Exception Handling Like the Z3, the Z4 supported powerful arithmetic exception handling. If there are numbers outside the range of approximately 10-20 < x < 1020 then the machine returns the range where the result is, for example:
If a sign of undefined is combined with another sign of undefined, then the result is undefined. This method could be used to prevent the Z4 from calculating incorrect numbers when it was working without supervision (this was mostly the case at the ETH). |
|
|
Restoring the Z4 cost the Zuse KG about 60,000 DM. The ETH Zürich paid an amount of 40,000 Swiss Francs (around 100,000 DM at that time) in advance for the Z4. With this money it was possible to found the Zuse KG and restore the Z4. (It is worth mentioning that the average income at this time was about 180 DM per month.) The Z4 was a great success for both the ETH and the Zuse KG.
The Z4s Computing Times |
|
0.5 |
|
3.0 |
|
6.0 |
|
6.0 |
|
0.5 |
|
2000 instructions, or 1000 arithmetic operations per hour |
In [SPEI98] Speiser writes:
We now want to cite Speiser [SPEI98] again, when he writes about the scientific work done with the Z4 and the reactions in Germany at this time:
|
|
|
|
| Return to EPE Online Home Page | |