aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2019-10-19 23:45:09 -0700
committeriximeow <me@iximeow.net>2020-01-12 16:10:13 -0800
commit321e30e69c29fbb57a3483a5690b73364342f911 (patch)
tree3789fac2b35b1a29df1cae9b5db9e92c371f8632 /src
parent98fcbbcb92554090651a15460319ce7ae4038c6a (diff)
lar has a 16-byte second operand, unconditionally
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
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<T: Iterator<Item=u8>>(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),