mirror of
https://gitlab.com/brendanhaines/cpu.git
synced 2024-12-25 18:46:53 -07:00
uncommitted changes
This commit is contained in:
parent
a2a85fd10b
commit
96c9a06589
10
test/test.S
10
test/test.S
|
@ -338,11 +338,6 @@ loop:
|
|||
nop
|
||||
nop
|
||||
|
||||
# jalr
|
||||
test_jalr:
|
||||
addi x2, x0, 0x12 # x2 = 0x12
|
||||
jalr x0, x1, 0 # return
|
||||
|
||||
fail:
|
||||
# set some registers to make it blatantly obvious an error occurred
|
||||
addi x1, x0, 0x7ff # x1 = 0x1111
|
||||
|
@ -362,6 +357,11 @@ fail:
|
|||
nop
|
||||
nop
|
||||
|
||||
# jalr
|
||||
test_jalr:
|
||||
addi x2, x0, 0x12 # x2 = 0x12
|
||||
jalr x0, x1, 0 # return
|
||||
|
||||
|
||||
.data
|
||||
someint:
|
||||
|
|
Loading…
Reference in New Issue
Block a user