Code for the littler Buttons the Computer used in the Turing Machine portion of the book.
 
buttons-computer/tests/basic.btn

7 lines
45 B

PUSH 10
PUSH 1
SUB
JZ 5
JUMP 1
PUSH 100
HALT