Fixing readme

This commit is contained in:
SyntaxError!
2026-01-23 19:56:04 -03:00
committed by GitHub
parent c30b3e3c11
commit 6126ee8ac7

View File

@@ -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
```