diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-03-04 12:00:04 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-03-04 12:00:04 +0100 |
| commit | 2101c52e2d14878a793622b712e8be8c6b2eb530 (patch) | |
| tree | e335aa2f7ce835a6f449ac667a6c7715a2b09d3d /src | |
| parent | abb74f7f760050186127f33ef9bb708e7b62526f (diff) | |
| download | box64-2101c52e2d14878a793622b712e8be8c6b2eb530.tar.gz box64-2101c52e2d14878a793622b712e8be8c6b2eb530.zip | |
Added REX 8D LEA opcode
Diffstat (limited to 'src')
| -rwxr-xr-x | src/emu/x64run.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/emu/x64run.c b/src/emu/x64run.c index 66db0709..d25ba332 100755 --- a/src/emu/x64run.c +++ b/src/emu/x64run.c @@ -243,6 +243,16 @@ x64emurun: ED->dword[0] = GD->dword[0]; break; + case 0x8D: /* LEA Gd,M */ + nextop = F8; + GETED; + GETGD; + if(rex.w) + GD->q[0] = (uint64_t)ED; + else + GD->dword[0] = (uint32_t)ED; + break; + default: unimp = 1; goto fini; |