Implementing A* in 6502 assembler.