To see the printer output from KDF9 click here.

To see the assembler listing from the 21st century assembler click here. This is not produced by the original assembler.



If your program assembled successfully, you can go BACK to run your program.

    0: begin
    1: prog=0:J.go;                  / inital jump
    2: prog=4:J.restart;J.restart;   / restart = operator intervention
    3: prog=8:
    4: go:  F.out8wd; SET8; OUT;     / output message to stream 30 - i.e. printer
    5:      ZERO; S.words;           / stream 0 is the monitor typewriter
    6:      F.out8wd; SET8; OUT;     / output message to monitor typewriter
    7:      ZERO; OUT;               / normal clean end
    8: restart:
    9:      MRWDQ0;                  / forced failure
   10: *words:                       / round up the address to a whole word
   11:        = ≠30;                 / stream 30
   12:        = P Hello *s Earth*c;  / well-known message
   13: out8wd: =Q 0 / words / prog-1;/ note: prog is the current word
   14: end
   15: end