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

Port to Assembly #51

Open
colleirose opened this issue Mar 23, 2024 · 2 comments
Open

Port to Assembly #51

colleirose opened this issue Mar 23, 2024 · 2 comments

Comments

@colleirose
Copy link

Just compile the C code and copy the disassembly

@Neptune650
Copy link

That's not quite efficient - compiler generated code tends to not be as fully optimized as one could do by writing it by hand, I'll try writing a NASM x86_64 assembly version of it myself.

@colleirose
Copy link
Author

That's not quite efficient - compiler generated code tends to not be as fully optimized as one could do by writing it by hand, I'll try writing a NASM x86_64 assembly version of it myself.

It depends on how complex the program is and how good the compiler is.

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