readme more
This commit is contained in:
parent
336626e704
commit
f7377f988c
1 changed files with 9 additions and 0 deletions
|
|
@ -1,2 +1,11 @@
|
||||||
# cls
|
# cls
|
||||||
Clear screen, nothing else.
|
Clear screen, nothing else.
|
||||||
|
|
||||||
|
## 1. Assemble with NASM to an object file (ELF 64-bit format)
|
||||||
|
`nasm -f elf64 cls.s -o cls.o`
|
||||||
|
|
||||||
|
## 2. Link the object file to create the executable
|
||||||
|
`ld cls.o -o cls`
|
||||||
|
|
||||||
|
## 3. Run it
|
||||||
|
`./cls`
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue