diff --git a/gen_input/CoreDSL-Instruction-Set-Description b/gen_input/CoreDSL-Instruction-Set-Description index e7f694c..32a985d 160000 --- a/gen_input/CoreDSL-Instruction-Set-Description +++ b/gen_input/CoreDSL-Instruction-Set-Description @@ -1 +1 @@ -Subproject commit e7f694c7264c67ad5fbefd850db7e74bceee02b7 +Subproject commit 32a985dfdf81345e01122a54588ecfa9b8645312 diff --git a/src/vm/interp/vm_tgf_c.cpp b/src/vm/interp/vm_tgf_c.cpp index 940ed02..2ea7f8e 100644 --- a/src/vm/interp/vm_tgf_c.cpp +++ b/src/vm/interp/vm_tgf_c.cpp @@ -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