Skip to content
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

Missing mnemonics #16

Open
spixi opened this issue Jun 21, 2019 · 0 comments
Open

Missing mnemonics #16

spixi opened this issue Jun 21, 2019 · 0 comments

Comments

@spixi
Copy link

spixi commented Jun 21, 2019

The following mnemonics are missing in GBz80 to Items

ld [$nnnn], sp ; (Opcode 08)
ld hl, sp+$nn ; (Opcode F8); *
  • The assembler currently translates ld hl, [sp+$nn] to F8, which is wrong, because such an instruction does not exist. But you can keep it for compatibility (like jp [hl] is a synonym of jp hl).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant