From 228bfec612b2f4202633807dcb88a9267da4d187 Mon Sep 17 00:00:00 2001 From: GDBWNV <93523315+GDBWNV@users.noreply.github.com> Date: Thu, 13 Jun 2024 19:57:26 +0100 Subject: [PATCH] more changes to wide moves --- src/parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser.c b/src/parser.c index e358cb8..6083cef 100644 --- a/src/parser.c +++ b/src/parser.c @@ -285,7 +285,7 @@ void parseDPImmediate(a64inst_instruction *inst, char *tokens[], int tokensCount data->dest = getOperandNumber(tokens[1]); data->regType = parseRegisterType(tokens[1]); - if (isStringIn(tokens[0], WIDE_MOV_OPCODES, 3)) { + if (isStringIn(tokens[0], WIDE_MOV_OPCODES, 4)) { data->DPIOpType = a64inst_DPI_WIDEMOV; data->processOp = indexStringIn(tokens[0], WIDE_MOV_OPCODES, 4); data->processOpData.wideMovData.immediate = getOperandNumber(tokens[2]);