Stage 8: all tests passing

This commit is contained in:
2025-11-07 15:27:15 +01:00
parent c88662403e
commit e83e7c11c1
3 changed files with 20 additions and 11 deletions

View File

@@ -1,12 +1,17 @@
# expected: 00000004, 0000008, 0000000C
# expected: 00000004, 0000008, 00000014, 0000000B
.text
_start:
jal x31, step1
step1:
jal x31, step2
step4:
addi x31, x0, 0x00B
jal x0, finish
step2:
jal x31, step3
step3:
jal x0, step4
addi x31, x0, 0x00A # This instruction should never be executed
finish:
nop