diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-03-04 11:35:56 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-03-04 11:35:56 +0100 |
| commit | 2aa303bb024fe68ae78dcd489010a3713aa4ae95 (patch) | |
| tree | 2ef23d5281275077a321c18e506e55c38232bb70 /src/emu/x64run.c | |
| parent | 9613868aa403ff5b06ebfea925ee986f5198b354 (diff) | |
| download | box64-2aa303bb024fe68ae78dcd489010a3713aa4ae95.tar.gz box64-2aa303bb024fe68ae78dcd489010a3713aa4ae95.zip | |
Fix REX handling and added REX 89 opcode
Diffstat (limited to 'src/emu/x64run.c')
| -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 482c9518..b3ccd541 100755 --- a/src/emu/x64run.c +++ b/src/emu/x64run.c @@ -168,6 +168,16 @@ x64emurun: --R_RIP; break; + case 0x89: /* MOV Ed,Gd */ + nextop = F8; + GETED; + GETGD; + if(rex.w) + ED->q[0] = GD->q[0]; + else + ED->dword[0] = GD->dword[0]; + break; + default: unimp = 1; goto fini; |