Emulation

This is going to be in Python so that anyone can run it.

Here is the first bit of code, written for the instruction set as it was in August 2016
  • B  = 9
  • C  = B
  • C += 48        
  • E  = C
  • E  = 32  # ' '
  • E  = 72  # 'H'
  • E  = 101 # 'e'
  • E  = 108 # 'l'
  • E  = 108 # 'l'
  • E  = 111 # 'o'
  • E  = 32  # ' '
  • E  = 87  # 'W'
  • E  = 111 # 'o'
  • E  = 114 # 'r'
  • E  = 108 # 'l'
  • E  = 100 # 'd'
  • E  = 33  # '!'
  • E  = 10  # '\n'
  • B -= 1
  • n == 0 && P  = 2
  • halt