I decided I wanted to learn more about the instruction set of the 6502 microprocessor. As Douglas Adams wrote, "By the time you’ve sorted out a complicated idea into little steps that even a stupid machine can deal with, you’ve certainly learned something about it yourself." And so I set out to explain it to SQLite, to verify that I understood it correctly.