mirror of
https://github.com/Noratrieb/rustv32i.git
synced 2026-01-14 21:35:02 +01:00
j immediate decoding fix
This commit is contained in:
parent
13aec667db
commit
9cdc795824
3 changed files with 59 additions and 10 deletions
|
|
@ -40,6 +40,15 @@ branch6:
|
|||
FAIL
|
||||
branch7:
|
||||
|
||||
# Backwards jal
|
||||
li t0, 0
|
||||
backwards:
|
||||
li t1, 0
|
||||
bne t0, t1, end_backwards
|
||||
li t0, 1
|
||||
jal backwards
|
||||
end_backwards:
|
||||
|
||||
# Test link registers being set correctly:
|
||||
auipc t1, 0
|
||||
jal t0, link2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue