fix another missing XLEN
This commit is contained in:
parent
bea0dcc387
commit
768716b064
|
@ -3148,7 +3148,7 @@ private:
|
||||||
*NEXT_PC = *PC + 2;
|
*NEXT_PC = *PC + 2;
|
||||||
// execute instruction
|
// execute instruction
|
||||||
if(rd) {
|
if(rd) {
|
||||||
uint8_t offs = *(X+2) + uimm;
|
uint32_t offs = *(X+2) + uimm;
|
||||||
*(X+rd) = (int32_t)readSpace4(traits::MEM, offs);
|
*(X+rd) = (int32_t)readSpace4(traits::MEM, offs);
|
||||||
}
|
}
|
||||||
else raise(0, 2);
|
else raise(0, 2);
|
||||||
|
|
Loading…
Reference in New Issue