git @ Cat's Eye Technologies SixtyPical / 0.2 eg / example.60p
0.2

Tree @0.2 (Download .tar.gz)

example.60p @0.2raw · history · blame

byte lives

routine main
  inputs lives
  outputs lives
  trashes a, x
  {
      ld a, 0
      st a, lives
      ld x, lives
      st off, c
      add x, 1
      st x, lives
  }