mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-02-02 10:21:10 +00:00
target-m68k: Fix cmpa operand size
"The size of the operation can be specified as word or long. Word length source operands are sign-extended to 32 bits for comparison." So comparison is always done using OS_LONG. Backports commit 5436c29d78957a6825a93f0eb79dfab388641017 from qemu
This commit is contained in:
parent
69687e1824
commit
527c68f40e
|
@ -2232,7 +2232,7 @@ DISAS_INSN(cmpa)
|
|||
}
|
||||
SRC_EA(env, src, opsize, 1, NULL);
|
||||
reg = AREG(insn, 9);
|
||||
gen_update_cc_cmp(s, reg, src, opsize);
|
||||
gen_update_cc_cmp(s, reg, src, OS_LONG);
|
||||
}
|
||||
|
||||
DISAS_INSN(eor)
|
||||
|
|
Loading…
Reference in a new issue