Working branching.

This commit is contained in:
Sebastian Bugge 2024-11-11 17:49:10 +01:00
parent 23656db068
commit cfce1b6b54
Signed by: kaholaz
GPG key ID: 2EFFEDEE03519691
7 changed files with 31 additions and 23 deletions

View file

@ -4,4 +4,7 @@ main:
loop:
addi x2, x2, 1
blt x2, x1, loop
nop
nop
nop
done

View file

@ -1,6 +1,8 @@
main:
jal x1, end
addi x1, x1, 0
nop
nop
done
end:

View file

@ -19,7 +19,7 @@ import LogParser._
object Manifest {
val singleTest = "simpleload.s"
val singleTest = "branch.s"
val nopPadded = false