From 321e30e69c29fbb57a3483a5690b73364342f911 Mon Sep 17 00:00:00 2001 From: iximeow Date: Sat, 19 Oct 2019 23:45:09 -0700 Subject: lar has a 16-byte second operand, unconditionally --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/lib.rs b/src/lib.rs index 38619b7..788cc59 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1472,7 +1472,7 @@ fn read_opcode_f30f_map>(bytes_iter: &mut T, instruction: & const OPCODE_0F_MAP: [OpcodeRecord; 256] = [ OpcodeRecord(Interpretation::Instruction(Opcode::Invalid), OperandCode::ModRM_0x0f00), OpcodeRecord(Interpretation::Instruction(Opcode::Invalid), OperandCode::ModRM_0x0f01), - OpcodeRecord(Interpretation::Instruction(Opcode::LAR), OperandCode::Gv_M), + OpcodeRecord(Interpretation::Instruction(Opcode::LAR), OperandCode::Gv_Ew), OpcodeRecord(Interpretation::Instruction(Opcode::LSL), OperandCode::Gv_M), OpcodeRecord(Interpretation::Instruction(Opcode::Invalid), OperandCode::Nothing), OpcodeRecord(Interpretation::Instruction(Opcode::SYSCALL), OperandCode::Nothing), -- cgit v1.1