refactored 6502asm