skeleton for M6502 cpu emulation