diff options
| author | Yang Liu <liuyang22@iscas.ac.cn> | 2025-10-11 23:07:29 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-11 17:07:29 +0200 |
| commit | a5b3c0af5eb9883e8a749e92fced738cac5d1369 (patch) | |
| tree | 323745ceff3bba4769d0e3bc109146076f3c9b29 | |
| parent | 276e67f329df7f68894f56f951f64818135d1a69 (diff) | |
| download | box64-a5b3c0af5eb9883e8a749e92fced738cac5d1369.tar.gz box64-a5b3c0af5eb9883e8a749e92fced738cac5d1369.zip | |
[INTERP] Fixed a typo in 0F C7 /1 CMPXCHG16B opcode (#3055)
| -rw-r--r-- | src/emu/x64run0f.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/x64run0f.c b/src/emu/x64run0f.c index d4505030..aff7419e 100644 --- a/src/emu/x64run0f.c +++ b/src/emu/x64run0f.c @@ -1801,8 +1801,8 @@ uintptr_t Run0F(x64emu_t *emu, rex_t rex, uintptr_t addr, int *step) tmp64u2= ED->q[1]; if(R_RAX == tmp64u && R_RDX == tmp64u2) { SET_FLAG(F_ZF); - ED->q[0] = R_EBX; - ED->q[1] = R_ECX; + ED->q[0] = R_RBX; + ED->q[1] = R_RCX; } else { CLEAR_FLAG(F_ZF); R_RAX = tmp64u; |