From b4ac152946d3a1dd0f4e0d48b8b73f2152a1e2e0 Mon Sep 17 00:00:00 2001 From: iximeow Date: Wed, 10 Jun 2026 06:27:44 +0000 Subject: fix some forms of lss/lfs/lgs having incorrectly-small memory sizes --- src/protected_mode/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/protected_mode') diff --git a/src/protected_mode/mod.rs b/src/protected_mode/mod.rs index a3e6a96..6c0e674 100644 --- a/src/protected_mode/mod.rs +++ b/src/protected_mode/mod.rs @@ -10599,10 +10599,10 @@ const OPERAND_SIZE_0F_CODES: [OpcodeRecord; 256] = [ // 0xb0 OpcodeRecord::new(Interpretation::Instruction(Opcode::CMPXCHG), OperandCode::Eb_Gb), OpcodeRecord::new(Interpretation::Instruction(Opcode::CMPXCHG), OperandCode::Ev_Gv), - OpcodeRecord::new(Interpretation::Instruction(Opcode::LSS), OperandCode::Gv_M), + OpcodeRecord::new(Interpretation::Instruction(Opcode::LSS), OperandCode::INV_Gv_M), OpcodeRecord::new(Interpretation::Instruction(Opcode::BTR), OperandCode::Ev_Gv), - OpcodeRecord::new(Interpretation::Instruction(Opcode::LFS), OperandCode::Gv_M), - OpcodeRecord::new(Interpretation::Instruction(Opcode::LGS), OperandCode::Gv_M), + OpcodeRecord::new(Interpretation::Instruction(Opcode::LFS), OperandCode::INV_Gv_M), + OpcodeRecord::new(Interpretation::Instruction(Opcode::LGS), OperandCode::INV_Gv_M), OpcodeRecord::new(Interpretation::Instruction(Opcode::MOVZX), OperandCode::Gv_Eb), OpcodeRecord::new(Interpretation::Instruction(Opcode::MOVZX), OperandCode::Gv_Ew), OpcodeRecord::new(Interpretation::Instruction(Opcode::Invalid), OperandCode::Nothing), -- cgit v1.1