`sd a0,-24(s0)` is assembled as `sd a0,24(s0)` (negative offset treated as positive)
tmcintos opened this issue · 2 comments
tmcintos commented
sd a0,-24(s0)
is assembled as sd a0,24(s0)
(negative offset treated as positive). In contrast, a negative offset in a load instruction is handled correctly. e.g.
sd a0,-24(s0)
ld a0,-24(s0)
is loaded into instruction memory as:
sd a0,24(s0)
ld a0,-24(s0)
Mariotti94 commented
Thank you for bringing this bug to my attention, it has been fixed.
tmcintos commented
Confirmed. Thanks!