From fdfec2663a2861f033145018ce1478981c16708b Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 26 Jul 2020 13:00:50 -0700 Subject: decode lahf/sahf --- src/long_mode/mod.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/long_mode') diff --git a/src/long_mode/mod.rs b/src/long_mode/mod.rs index 43cb19e..35e9c60 100644 --- a/src/long_mode/mod.rs +++ b/src/long_mode/mod.rs @@ -7321,6 +7321,9 @@ fn unlikely_operands>(decoder: &InstDecoder, mut bytes_iter instruction.operands[1] = OperandSpec::Deref; instruction.operand_count = 2; } + OperandCode::AH => { + instruction.operand_count = 0; + } OperandCode::DX_Xv => { instruction.modrm_rrr = RegSpec::dx(); instruction.modrm_mmm = RegSpec::rsi(); -- cgit v1.1