Sha256: e64f4d73e5ef3e21618e084b058385a2ec0b4b2552506694f886bc069c50dd51
Contents?: true
Size: 896 Bytes
Versions: 10
Compression:
Stored size: 896 Bytes
Contents
The EDSAC did not support lower-case letters. The method used here is to include a separate <code>O</code> order to print each character: for short messages and labels this is quite adequate. A more general (though slightly more involved) solution for printing strings is given at [[Hello world/Line printer#EDSAC order code]]. [ Print HELLO WORLD ] [ A program for the EDSAC ] [ Works with Initial Orders 2 ] T64K [ Set load point: address 64 ] GK [ Set base address ] O13@ [ Each O order outputs one ] O14@ [ character. The numerical ] O15@ [ parameter gives the offset ] O16@ [ (from the base address) where ] O17@ [ the character to print is ] O18@ [ stored ] O19@ O20@ O21@ O22@ O23@ O24@ ZF [ Stop ] *F [ Shift to print letters ] HF [ Character literals ] EF LF LF OF !F [ Space character ] WF OF RF LF DF EZPF [ Start program beginning at the load point ]
Version data entries
10 entries across 7 versions & 1 rubygems