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

After merging #201, as-8080: call instr compiles into wrong address when data is inbetween #229

Closed
vbmacher opened this issue May 15, 2022 · 1 comment
Labels
Milestone

Comments

@vbmacher
Copy link
Collaborator

call sample
label: db 'hello'
sample: hlt

Program should compile into:

0xCD, 0x08, 0x00, 'h', 'e', 'l', 'l', 'o', 0x76

However instead 0x08 the address is 0x04

@vbmacher vbmacher added the bug label May 15, 2022
@vbmacher
Copy link
Collaborator Author

also holds for as-z80

vbmacher added a commit that referenced this issue May 15, 2022
vbmacher added a commit that referenced this issue May 16, 2022
@vbmacher vbmacher added this to the 0.41 milestone May 16, 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

1 participant