AntonLydike / riscemu

RISC-V emulator in python
MIT License
48 stars 14 forks source link

LH and LB instructions don't sign-extend loaded values #7

Closed niklasr22 closed 2 years ago

niklasr22 commented 2 years ago

Values that are loaded with LH or LB instructions are not getting sign-extended to 32 bits before they are stored in a register.

AntonLydike commented 2 years ago

This was fixed in #5