Subleq DS is a mod of original subleq. Subleq consists of just one command “subtract and branch(jump) if negative or zero)
Each subleq command consists of 3 words: a, b and c. a, b and c are memory addresses.
If b – a is negative or zero, jump to c. Otherwise, go to the next command. The code IS in the memory, so Subleq DS is self-modyfing. Special memory addresses are addresses that don’t execute subleq; instead, they execute a command they’re made to do. The addresses are put to b.
Changes:
– removed test code
– fixed a bug or two