Open microaeris opened 5 years ago
I think the assembler will have taken X to be a label (or variable) - it has no defined value, but we don't detect unassigned variables, because they will always be there in the first pass. Perhaps we need to make the second pass more careful.
Thanks for the kind words... I'll keep this issue open, perhaps some day will have a proper look at the code. It's been a while.
Love your emulator; it's the perfect learning tool for 6502. On the note of learning, I managed to write some impossible 6502 and the assembler didn't throw a syntax error. :^)
Assembled output:
Expected output: An error message calling me silly names for writing that.