Stage 10: passing tests

This commit is contained in:
2025-11-09 15:35:42 +01:00
parent 5c05d0b3e5
commit 4018f69f65
7 changed files with 102 additions and 16 deletions

15
bench/tests/op/sw.s Normal file
View File

@@ -0,0 +1,15 @@
# expected: 000001AB
.text
_start:
# Create an instruction bytes per bytes
# addi x31, x0, 0x1AB -> 0x1AB00F93
lui x1, 0x0F93
srli x1, x1, 12
lui x2, 0x1AB0
slli x2, x2, 4
or x1, x1, x2
sw x1, 28(x0)
nop
# Instruction will be written here
nop