diff --git a/libs/gamecode/opcodes.py b/libs/gamecode/opcodes.py index a07714d88..7c0758a64 100644 --- a/libs/gamecode/opcodes.py +++ b/libs/gamecode/opcodes.py @@ -361,13 +361,14 @@ scale_formats = { }, } shiftops_formats = { - "opcode": "OP_{op_shift[u*2+r].upper()}_{shift_type[u*2+t]}_{ss+1}", - "mnemonic": "{op_shift[u*2+r]}.{shift_type[u*2+t]}", + "opcode": "OP_{mn_shift[u*2+r].upper()}_{shift_type[u*2+t]}_{ss+1}", + "mnemonic": "{mn_shift[u*2+r]}.{shift_type[u*2+t]}", "opname": "{op_shift[u*2+r]}", "widths": "{ss+1}, {ss+1}, {ss+1}", "types": "{shift_types[t][u]}, {shift_types[t][0]}, {shift_types[t][u]}", "args": { - "op_shift": ["shl", "asr", "shl", "shr"], + "mn_shift": ["shl", "asr", "shl", "shr"], + "op_shift": ["shl", "shr", "shl", "shr"], "shift_type": ['I', 'L', 'u', 'U'], "shift_types": [ ["ev_int", "ev_uint"],