-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1e397ee
commit d11c9fb
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
# goodbye-world script | ||
# bye | ||
|
||
### step 0 install nasm (varies from distributions-to-distributions) | ||
### step 0 install nasm | ||
```sh | ||
sudo pacman -S nasm | ||
``` | ||
|
||
### step 1 compiling the nasm file | ||
### step 1 compile the nasm file | ||
```sh | ||
nasm -f elf64 goodbye_world.nasm -o goodbye_world.o | ||
``` | ||
|
||
### step 2 linking | ||
### step 2 link | ||
```sh | ||
ld goodbye_world.o -o goodbye_world | ||
``` | ||
|
||
### step 3 run the script | ||
### step 3 run the script :D | ||
```sh | ||
./goodbye_world | ||
``` |