risc-v-tlm/tests/asm/Memoryaccess.asm

10 lines
115 B
NASM
Raw Normal View History

2018-10-07 04:19:29 +08:00
li t1, 0xCAFE
li t2, 300
li t3, 0xBEEF
sb t1, -6(t2)
sb t3, -13(t2)
li t1, 23
lbu t1, -6(t2)
lbu t3, -13(t2)
ecall