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

Print.asm isn't correct NASM assembly. #4

Open
MayNc10 opened this issue Mar 16, 2022 · 1 comment
Open

Print.asm isn't correct NASM assembly. #4

MayNc10 opened this issue Mar 16, 2022 · 1 comment

Comments

@MayNc10
Copy link

MayNc10 commented Mar 16, 2022

Reading through the source code of print.asm, it has notes about functions implemented in NASM assembly. Those work fine, however, lines 77, 81, 86, and 87 all give the errors "Impossible combination of address sizes" and "invalid effective address". This is on NASM 2.14.02-1, which is the version that my Ubuntu distro installed when I ran "sudo apt install NASM ".

@JohnDowson
Copy link
Owner

I use NASM version 2.15.05 which assembles it without issues.
Either way print routine isn't essential since rotth std already has putu procedure. You could safely make print: a noop.

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

2 participants