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

Incorrect assembly for the Z80 #15

Closed
SuperJMN opened this issue Oct 29, 2022 · 2 comments
Closed

Incorrect assembly for the Z80 #15

SuperJMN opened this issue Oct 29, 2022 · 2 comments
Labels

Comments

@SuperJMN
Copy link

When assembling this code:

LABEL ld hl, 1
djnz LABEL

It should have assembled as:

21
01
00
10
FB

However, it assembled as:

21
01
00
10
FC

Please, notice that the last line is different (FB vs FC)
Am I missing something?

Thanks!

@informedcitizenry
Copy link
Owner

Thanks I'll take a look. That's a big one.

@informedcitizenry
Copy link
Owner

This is fixed now.

SuperJMN added a commit to SuperJMN/SuppaZ80 that referenced this issue Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants