debugger and fixes

This commit is contained in:
nora 2025-03-10 18:08:00 +01:00
parent de03390dab
commit 7ae26ddc85
9 changed files with 212 additions and 50 deletions

View file

@ -43,14 +43,14 @@ branch7:
# Test link registers being set correctly:
auipc t1, 0
jal t0, link2
j fail
jal t5, fail # force uncompressed
link2:
addi t1, t1, 8 # the instruction following the jump
bne t1, t0, fail
auipc t1, 0
jalr t0, 12(t1) # 12 is the three instructions, so to the addi
j fail
jal t5, fail # force uncompressed
addi t1, t1, 8 # the instruction following the jump
bne t0, t1, fail