Modifies test slightly because now RAM is relocated to 0x10000
This commit is contained in:
@@ -3,12 +3,14 @@
|
||||
_start:
|
||||
# Create an instruction bytes per bytes
|
||||
# addi x31, x0, 0x1AB -> 0x1AB00F93
|
||||
auipc x12, 0x0
|
||||
|
||||
lui x1, 0x0F93
|
||||
srli x1, x1, 12
|
||||
lui x2, 0x1AB0
|
||||
slli x2, x2, 4
|
||||
or x1, x1, x2
|
||||
sw x1, 28(x0)
|
||||
sw x1, 32(x12)
|
||||
nop
|
||||
|
||||
# Instruction will be written here
|
||||
|
||||
Reference in New Issue
Block a user