Skip to content

Commit b86cca8

Browse files
authored
Merge pull request #27 from AmeyaVS/fix/uniform-docs
Fix additional documentation
2 parents 5b7ec08 + 15e12c2 commit b86cca8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -267,20 +267,20 @@ In the asm directory there are some basic assembly examples.
267267

268268
I "compile" one file with the follwing command:
269269
```sh
270-
$ cd asm
271-
$ riscv32-unknown-elf-as EternalLoop.asm -o EternalLoop.o
272-
$ riscv32-unknown-elf-ld EternalLoop.o -o EternalLoop.elf
273-
$ riscv32-unknown-elf-objcopy -O ihex EternalLoop.elf EternalLoop.hex
274-
$ cd ..
275-
$ ./RISCV_SCTLM asm/EternalLoop.hex
270+
cd asm
271+
riscv32-unknown-elf-as EternalLoop.asm -o EternalLoop.o
272+
riscv32-unknown-elf-ld EternalLoop.o -o EternalLoop.elf
273+
riscv32-unknown-elf-objcopy -O ihex EternalLoop.elf EternalLoop.hex
274+
cd ..
275+
./RISCV_SCTLM asm/EternalLoop.hex
276276
```
277277
This example needs that you hit Ctr+C to stop execution.
278278

279279
### C code
280280
The C directory contains simple examples in C. Each directory contains
281281
an example, to compile it just:
282282
```sh
283-
$ make
283+
make
284284
```
285285
and then execute the .hex file like the example before.
286286

0 commit comments

Comments
 (0)