-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Indirect indexed addressing error #24
Comments
I had a quick look at the code. Maybe this change is enough to correct the problem ?
|
I'll add the following change to the next version instead:
That should do it nicely, as it's always a signed value. |
OK, V1.83 is online now that should fix this. |
instruction LDA [-1,X] (hex code A698FF) is translated by LDA [$FF,X], which is interpreted (at least by a09) as a 16 bits positive number and produce A69900FF :
0003 A69900FF LDA [$FF,X] ;0003: A6 98 FF '...'
The correct translation should be either LDA [-1,X] either LDA [<$99,X]
This is the case for all instruction with this addressing mode (JMP [-1,Y], etc.)
The text was updated successfully, but these errors were encountered: