Fixing readme
This commit is contained in:
16
README.md
16
README.md
@@ -3,12 +3,18 @@ Made for my studies on low-level programming
|
||||
---
|
||||
|
||||
Clone and cd:
|
||||
`git clone https://github.com/synt-xerror/assembly-calculator`
|
||||
`cd assembly-calculator`
|
||||
```
|
||||
git clone https://github.com/synt-xerror/assembly-calculator
|
||||
cd assembly-calculator
|
||||
```
|
||||
|
||||
Assemble using `nasm` and link using `ld`:
|
||||
`nasm -f elf64 calculator.s -o calculator.o`
|
||||
`ld calculator.o -o calculator`
|
||||
```
|
||||
nasm -f elf64 calculator.s -o calculator.o
|
||||
ld calculator.o -o calculator
|
||||
```
|
||||
|
||||
Run:
|
||||
`./calculator`
|
||||
```
|
||||
./calculator
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user