diff options
| author | Andrew Chambers <[email protected]> | 2021-10-14 18:44:01 +1300 |
|---|---|---|
| committer | Andrew Chambers <[email protected]> | 2021-10-14 18:44:01 +1300 |
| commit | a4289ade4c65730124e10849b1544db374cf5062 (patch) | |
| tree | a58049fa8b6426db7cde7f7a0693883378e67046 /main.c | |
| parent | 311a0567533bd9ac207ffde364990b0b4a27dd49 (diff) | |
Fix incorrect order in 3 address multiplication.
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |
