From 6c3eb9fd26bcab2fe9e97a1327e1629dbd6cbc8a Mon Sep 17 00:00:00 2001 From: jtuu Date: Sat, 16 May 2020 01:25:36 +0300 Subject: [PATCH] Fixed opcode unknown_f961 definition. --- assets_generation/resources/asm/opcodes.yml | 7 +++++++ src/core/data_formats/asm/opcodes.ts | 11 ++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/assets_generation/resources/asm/opcodes.yml b/assets_generation/resources/asm/opcodes.yml index 11aaff94..1b464b98 100644 --- a/assets_generation/resources/asm/opcodes.yml +++ b/assets_generation/resources/asm/opcodes.yml @@ -3821,3 +3821,10 @@ opcodes: params: - type: dword stack: pop + + - code: 0xf961 + params: + - type: reg_tup_ref + reg_tup: + - type: dword + access: write diff --git a/src/core/data_formats/asm/opcodes.ts b/src/core/data_formats/asm/opcodes.ts index acf51b6b..7b8c1dcd 100644 --- a/src/core/data_formats/asm/opcodes.ts +++ b/src/core/data_formats/asm/opcodes.ts @@ -7531,7 +7531,16 @@ export const OP_UNKNOWN_F961 = (OPCODES[0xf961] = new_opcode( 0xf961, "unknown_f961", undefined, - [], + [ + new_param( + { + kind: Kind.RegTupRef, + register_tuples: [new_param(TYPE_DWORD, undefined, ParamAccess.Write)], + }, + undefined, + undefined, + ), + ], undefined, )); export const OP_UNKNOWN_F962 = (OPCODES[0xf962] = new_opcode(