Modifies test slightly because now RAM is relocated to 0x10000

This commit is contained in:
2025-11-15 01:26:49 +01:00
32 changed files with 974 additions and 274 deletions

View File

@@ -1,10 +1,12 @@
# expected: 00000050, 000001AB
.text
_start:
auipc x12, 0x0
addi x1, x0, 0x5
# Write x1 in the next addi instruction, position 12+3 bytes
# Due to type I immediate, x31 must contain 0x050
sb x1, 15(x0)
sb x1, 19(x12)
nop
addi x31, x0, 0x0
@@ -14,11 +16,13 @@ _start:
addi x2, x0, 0x0F
addi x3, x0, 0xB0
addi x4, x0, 0x1A
sb x1, 52(x0)
sb x2, 53(x0)
sb x3, 54(x0)
sb x4, 55(x0)
sb x1, 56(x12)
sb x2, 57(x12)
sb x3, 58(x12)
sb x4, 59(x12)
nop
# Instruction will be written here
nop