Working branching.
This commit is contained in:
parent
23656db068
commit
cfce1b6b54
7 changed files with 31 additions and 23 deletions
|
@ -4,4 +4,7 @@ main:
|
|||
loop:
|
||||
addi x2, x2, 1
|
||||
blt x2, x1, loop
|
||||
nop
|
||||
nop
|
||||
nop
|
||||
done
|
|
@ -1,6 +1,8 @@
|
|||
main:
|
||||
jal x1, end
|
||||
addi x1, x1, 0
|
||||
nop
|
||||
nop
|
||||
done
|
||||
|
||||
end:
|
||||
|
|
|
@ -19,7 +19,7 @@ import LogParser._
|
|||
|
||||
object Manifest {
|
||||
|
||||
val singleTest = "simpleload.s"
|
||||
val singleTest = "branch.s"
|
||||
|
||||
val nopPadded = false
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue