Closed leyyinad closed 4 years ago
I think the indirect ptr screen
needs to reside in the zero page? Eg.
!let screen = $40 ; 40 is arbitrary
sta (screen), y
should work
IIRC an absolute, larger than 255 address for screen is not supported in 6502 for the indirect addressing mode.
Please correct me if I’m wrong, maybe I missed an encoding.
At the very least the error message is poor and should provide better guidance.
Of course. Should’ve read the manual a bit more thoroughly. Sorry & thank you a lot, this answers a couple of questions I had in my mind. :-)
Is there a problem with indirect addressing?
The following source yields a
https://nurpax.github.io/c64jasm-browser/?gist_id=3bd93f19af02db5b434bb0e658b55092
Am I missing something here?
Thank you!