Almost working jump.
This commit is contained in:
parent
92d0dfd9eb
commit
323e373d0e
9 changed files with 89 additions and 35 deletions
11
src/test/resources/tests/jump.s
Normal file
11
src/test/resources/tests/jump.s
Normal file
|
@ -0,0 +1,11 @@
|
|||
main:
|
||||
addi x2, x2, 4
|
||||
j loop
|
||||
|
||||
end:
|
||||
done
|
||||
|
||||
loop:
|
||||
bge x1, x2, end
|
||||
addi x1, x1, 1
|
||||
j loop
|
Loading…
Add table
Add a link
Reference in a new issue