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

Can't compile #3

Closed
danieltkach opened this issue Sep 15, 2021 · 0 comments
Closed

Can't compile #3

danieltkach opened this issue Sep 15, 2021 · 0 comments

Comments

@danieltkach
Copy link

Hi guys.
This is my code:

output "ejemplo1.bin"

db #fe
dw START
dw END

org #8500

START:
ld a, [#8600]
ld b, a
ld a, [#8601]
add a, b
ld [#8602], a

ret

END:
And this is what I'm getting when trying to compile it:
C:\Users\Daniel\Programming\MSX\asm>sjasm ejemplo1.asm
Sjasm Z80 Assembler v0.42c - www.xl2s.tk
ejemplo1.asm(1) : Unrecognized instruction: "ejemplo1.
ejemplo1.asm(3) : Label not found: fe
ejemplo1.asm(4) : Unrecognized instruction: start
ejemplo1.asm(5) : Duplicate labelname: dw

Any idea what I'm doing wrong?
Please help. Thanks.

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