Skip to content

Commit f294e3d

Browse files
add how to test a program doc
1 parent 4268b7c commit f294e3d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Step 1: Compile ASM to Binary
2+
Visit this site: https://riscvasm.lucasteske.dev/#
3+
You can past in RISC-V assembly and hit build.
4+
Now copy the part in `Code Hex Dump`
5+
# Step 2: Convert Hex to File
6+
Visit https://hexed.it/
7+
Paste the copied hex and select, `Create a new file` and `Hexadecimal Values`
8+
Save the file into the repo.
9+
# Step 3: Run
10+
Run the MainSpec file and replace the program path with the path to your file.

0 commit comments

Comments
 (0)