diff options
author | iximeow <me@iximeow.net> | 2019-12-01 15:40:54 -0800 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2020-01-12 16:10:13 -0800 |
commit | 4bb189250b99494b292fb24717ee90f3178cbde9 (patch) | |
tree | ae5d41be524b03cda42f32aac3dcae862983a3de /src/lib.rs | |
parent | 1fa6de9e53b5c887b0e865eacce65b72b1cb15a4 (diff) |
movs on non-byte operands
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -3846,11 +3846,8 @@ fn unlikely_operands<T: Iterator<Item=u8>>(mut bytes_iter: T, instruction: &mut } OperandCode::Yv_Xv => { // TODO: repsect prefixes - // TODO: two memory operands! this is wrong!!! - instruction.modrm_rrr = RegSpec::rdi(); - instruction.modrm_mmm = RegSpec::rsi(); - instruction.operands[0] = OperandSpec::Deref; - instruction.operands[1] = OperandSpec::Deref; + instruction.operands[0] = OperandSpec::Deref_rdi; + instruction.operands[1] = OperandSpec::Deref_rsi; } OperandCode::ModRM_0x0f12 => { instruction.modrm_rrr.bank = RegisterBank::X; |