6502 emulator and assembler