hello-world.txt 740 B

123456789101112131415
  1. On the Elea 9003, we would program this in 27 characters (two instructions and one constant string); the rest of the memory would be empty.
  2. 11 0017 # ø Prints the memory contents from address 17 for length 11
  3. 0X XXXX # 0 Stops the program
  4. HELLO WORLD The constant at address 17
  5. And how to execute this program? Since it is short, we’ll type it directly in memory at address 1, so we type on the console keyboard:
  6. 27 0001 # %
  7. Then we type the 27 characters on the console typewriter. Finally we branch to position 8, the address of the rightmost character of the first instruction, entering the following instruction from the console:
  8. )# 0008 # O
  9. This caused the program to be executed