+ "read character into cell 9\n",
+ "set cell 10 to 1\n",
+ "while cell 9 != 0\n",
+ " subtract cell 0 from cell 9\n",
+ " while cell 9 == 0 we're not at an exit\n",
+ " subtract cell 1 from cell 9\n",
+ " set cell 10 to 0\n",
+ " while cell 9 == 0 we're going up\n",
+ " increment cell 6\n",
+ " increment cell 6\n",
+ " while cell 6 is zero\n",
+ " set cell 7 to zero \n",
+ " decrement cell 6\n",
+ " while cell 10 != 0 (at an exit)\n",
+ " while cell 7 != 0 (above ground level)\n",
+ " copy cell 8 to cell 11 using cell 13 (highest)\n",
+ " copy cell 6 to cell 12 using cell 13 (current)\n",
+ " set cell 14 to 0\n",
+ " while cell 11 != 0\n",
+ " increment cell 14\n",
+ " while cell 12 != 0\n",
+ " decrement cell 12\n",
+ " set cell 14 to 0, keep pointer at 14 (this exits the inner loop)\n",
+ " decrement cell 11\n",
+ " add cell 12 to cell 8\n",
+ " set cell 7 to 0\n",
+ " set cell 10 to 0\n",
+ " \n",
+ " \n",
+ " \n",
+ " \n",
+ " if cell 7 != 0\n",
+ " if cell 6 is higher then cell 7\n",
+ " copy cell 6 into cell 7\n",
+ " else\n",
+ " \n",
+ " copy cell 1 into cell 0 using cell 4\n",
+ " read character into cell 6\n",
+ "```\n",
+ "\n",
+ "```\n",
+ "Need a flag to say if below ground level, and only update the highest exit level if positive\n",