articles/assembly.md: wrong object file filename

This commit is contained in:
tocariimaa 2025-02-18 14:01:42 -03:00
parent 0436000f1e
commit 8407b5632c

View file

@ -30,7 +30,7 @@ hello_str_len: equ $-hello_str ; assemble-time length calculation
Assembling and linking:
```sh
nasm -felf64 -o hello.o hello.asm # assemble, generates an object file
cc -static-pie -nostdlib -o hello hello.asm # now link to get an executable
cc -static-pie -nostdlib -o hello hello.o # now link to get an executable
```
TODO examples for other architectures