Working branching.
This commit is contained in:
parent
934593fb6f
commit
92d0dfd9eb
9 changed files with 102 additions and 32 deletions
7
src/test/resources/tests/branch.s
Normal file
7
src/test/resources/tests/branch.s
Normal file
|
@ -0,0 +1,7 @@
|
|||
main:
|
||||
addi x1, x1, 12
|
||||
lui x2, 0
|
||||
loop:
|
||||
addi x2, x2, 1
|
||||
blt x2, x1, loop
|
||||
done
|
Loading…
Add table
Add a link
Reference in a new issue