From a4289ade4c65730124e10849b1544db374cf5062 Mon Sep 17 00:00:00 2001 From: Andrew Chambers Date: Thu, 14 Oct 2021 18:44:01 +1300 Subject: Fix incorrect order in 3 address multiplication. --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.c') diff --git a/main.c b/main.c index 205f58b..42950c3 100644 --- a/main.c +++ b/main.c @@ -950,7 +950,7 @@ static void assemble(void) { imm = &v->instr.arg3->imm; opcode = 0x69; prefix = ((v->instr.variant - 14) % 3) == 0 ? 0x66 : -1; - assemblerrm(&v->instr, prefix, opcode, 0); + assemblerrm(&v->instr, prefix, opcode, 1); assemblereloc(imm->v.l, imm->v.c, imm->nbytes, R_X86_64_32); } break; -- cgit v1.2.3