diff --git a/test/test.S b/test/test.S index 2af6478..7718ec2 100644 --- a/test/test.S +++ b/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: