Fix Markdown ordered lists
All checks were successful
/ deploy (push) Successful in 1m15s

This commit is contained in:
Minecon724 2024-10-19 20:43:20 +02:00
parent ab4e8dcd20
commit 0e2d8ac37c
Signed by: Minecon724
GPG key ID: 3CCC4D267742C8E8

View file

@ -13,18 +13,18 @@ Emulator exit codes:
- `2` - illegal instruction argument (like funct3)
Compile:
0. Dependencies: `libelf`
1. ```
1. Dependencies: `libelf`
2. ```
make # should display no warnings
```
2. Executable is `build/criscv`
3. Executable is `build/criscv`
Note: Prebuilts for **x86_64 & aarch64 Linux** are available [here](https://git.m724.eu/Minecon724/criscv/actions), pick the latest one, unpack and run the one for your architecture. \
Those are **dynamic**, meaning you still need the dependencies! See compile step 0 above.
Note: Prebuilts for **x86_64 & aarch64 Linux** are available [here](https://git.m724.eu/Minecon724/criscv/actions), pick the top one, download the artifact, and keep the one for your architecture. \
Those are **dynamic**, meaning you still need the dependencies! See compile step 1 above.
Compile programs:
0. Get the toolchain obviously
1. ```
1. Get the toolchain obviously
2. ```
riscv32-unknown-elf-gcc -ffreestanding -nostdlib -Ttext=0x0 -e main -O0 -o program.elf program.c
```
3. `program.bin` is the binary file with the program, pass it as an argument