11 lines
222 B
Markdown
11 lines
222 B
Markdown
# cls
|
|
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`
|