From 66f3a50f36b70c001244f846f9cd3bc848809aea Mon Sep 17 00:00:00 2001 From: James <49045138+ghidracadabra@users.noreply.github.com> Date: Tue, 21 May 2024 16:36:38 +0000 Subject: [PATCH] GP-2630 added comment --- Ghidra/Processors/x86/data/languages/ia.sinc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Ghidra/Processors/x86/data/languages/ia.sinc b/Ghidra/Processors/x86/data/languages/ia.sinc index 51ddeae37d..9693a5252a 100644 --- a/Ghidra/Processors/x86/data/languages/ia.sinc +++ b/Ghidra/Processors/x86/data/languages/ia.sinc @@ -773,6 +773,9 @@ define pcodeop vmxon; # Enter VMX operation; opcode f3 0f C7 /6 @define LONGMODE_OFF "opsize=opsize" # NOP @endif +#when not in 64-bit mode, opcode 0x82 results in the same instruction as opcode 0x80 +#in 64-bit mode, opcode 0x82 results in #UD +#see 22.15 "Undefined Opcodes" of the intel manual @ifdef IA64 @define BYTE_80_82 "(byte=0x80 | (longMode=0 & byte=0x82))" @else