fix another missing XLEN

This commit is contained in:
Eyck Jentzsch 2021-03-09 11:07:56 +00:00
parent bea0dcc387
commit 768716b064

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);