Created
November 27, 2025 00:32
-
-
Save hackers-terabit/ff741d67f517b9ecd21269ae70c7ebe3 to your computer and use it in GitHub Desktop.
Compile, link and run asm with nasm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| nasm -f elf64 $1 -o $2.o | |
| ld $2.o -o $2 | |
| ls -la "$2" | |
| ./$2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment