ThaumicMekanism / venus

RISC-V instruction set simulator built for education
https://ThaumicMekanism.github.io/venus/
MIT License
146 stars 21 forks source link

Example - Tracing Assembly Code #21

Closed chakpongchung closed 3 years ago

chakpongchung commented 3 years ago

Is there any reason the following exact program is not showing the proper value of x5?

main:   
addi x11, x0, 0x3f5
sw x11, 0(x5)
lb x12, 1(x5)

This program comes from the lecture.