aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 00ec194..24f11f8 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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;