diff --git a/README.md b/README.md index 2bd72a5..eb8eeab 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,11 @@ # 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`