You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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. :^)
LDA #$01
LDX #$01
LDY #$00
loop:
EOR X ; Nope
STA $0200,Y
INY
CPY #$10
BNE loop
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.
The text was updated successfully, but these errors were encountered: