-
Notifications
You must be signed in to change notification settings - Fork 10
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
Mistaken alternative mnemonics #37
Comments
The table also shows |
Furthermore, |
Even though I usually like backwards compatibility, I would call this notation "plain wrong". To me, it suggests that it addressed $0000 to $00FF, when in fact it addresses $FF00 to $FFFF. |
The |
The "official" syntax is also |
Remaining non-deprecated redundant syntaxes as of 0.9.0:
|
I think only the first of these ought to remain, and |
Yes, 0.9.0 will have deprecated
|
https://gbdev.io/gb-opcodes/optables/classic claims:
LDH A, [a8]
has the alternative mnemonicLD A, [$FF00+a8]
LDH [a8], A
has the alternative mnemonicLD [$FF00+a8], A
These are not true;
a8
is "8-bit unsigned data", and$FF00+a8
just results in a single number$FFa8
which does not get auto-converted fromLD
toLDH
.The text was updated successfully, but these errors were encountered: