Direction and IO - luciantin/Racket_Lang GitHub Wiki

Input a number on the start page and output it on the 1st page

  • IIA Program asks for integer input and saves it into memory at A

  • OIA Program outputs value at A

  • RDW Sets direction of IP, move down (row)

  • RLF Sets direction of IP, move left (row)

  • PUP Sets direction of IP, move up (page)

  • RRT Sets direction of IP, move right (row)

  • OIA Program outputs value at A

  • STP Halt

  • NOP No operation

slk