Assembler and simulator for the 6502 processor