The CPUID instruction tells you what features the processor supports for x86 processors.
http://www.intel.com/assets/pdf/appnote/241618.pdf
You will need to consult the instruction manuals for operation codes, so the CPU cannot tell you that 'opcode 0x ?? is an XYZ instruction' programmatically.
James source
share