adds fix for compressed instructions and reads

This commit is contained in:
2023-06-05 17:57:38 +02:00
parent 2281ec4144
commit 15cd36dcd4
2 changed files with 108 additions and 108 deletions

View File

@ -207,7 +207,7 @@ private:
${it}<%}%>
}
auto cur_pc_val = tu.constant(pc.val, traits::reg_bit_widths[traits::PC]);
pc=pc+4;
pc=pc+ ${instr.length/8};
gen_set_pc(tu, pc, traits::NEXT_PC);
tu.open_scope();<%instr.behavior.eachLine{%>
${it}<%}%>