[gamecode] Redesign jump's B addressing

Yet another redundant addressing mode (since ptr + 0 can be used), so
replace it with a variable-indexed array (same as in v6p). Was forced
into noticing the problem when trying to compile Machine.r.
This commit is contained in:
Bill Currie 2022-01-30 22:34:40 +09:00
parent b8df11b2cb
commit 766bf758ab
3 changed files with 5 additions and 5 deletions

View file

@ -204,11 +204,11 @@ jump_formats = {
"jump_fmt": branch_fmt,
"jump_types": [
"ev_short, ev_invalid, ev_invalid",
"ev_ptr, ev_invalid, ev_invalid",
"ev_void, ev_int, ev_invalid",
"ev_ptr, ev_short, ev_invalid",
"ev_ptr, ev_int, ev_invalid",
],
"jump_widths": [ "0, 0", "1, 0", "1, 0", "1, 1" ]
"jump_widths": [ "0, 0", "1, 1", "1, 0", "1, 1" ]
},
}
lea_formats = {