3 Commits

Author SHA1 Message Date
ac8eab6e25 update RISC-V desciptions 2021-03-10 17:31:10 +00:00
768716b064 fix another missing XLEN 2021-03-09 11:07:56 +00:00
bea0dcc387 update missing XLEN 2021-03-09 11:03:37 +00:00
2 changed files with 3 additions and 3 deletions

View File

@ -3148,7 +3148,7 @@ private:
*NEXT_PC = *PC + 2;
// execute instruction
if(rd) {
uint8_t offs = *(X+2) + uimm;
uint32_t offs = *(X+2) + uimm;
*(X+rd) = (int32_t)readSpace4(traits::MEM, offs);
}
else raise(0, 2);
@ -3341,7 +3341,7 @@ private:
*NEXT_PC = *PC + 2;
// execute instruction
{
uint8_t offs = *(X+2) + uimm;
uint32_t offs = *(X+2) + uimm;
writeSpace4(traits::MEM, offs, (uint32_t)*(X+rs2));
}
// post execution stuff