Files
assembly/x86_64/README.md
2019-03-10 12:17:59 +01:00

16 lines
295 B
Markdown

# Build steps
## Assembling
Assembling with NASM
```bash
nasm -g -f elf64 <file.asm>
```
- g = include debug info
- f = file format (elf64 -> x64)
## Linking
```bash
ld <object-files> -o <executable-name> # Default
gcc <object-files> -o <executable-name> # When using C library functions
```