Intel x86 Opcode Reference?

后端 未结 7 2015
孤城傲影
孤城傲影 2021-01-30 07:04

What is a relatively quick and easy method of looking up what an arbitrary opcode means (say, 0xC8) in x86?

The Intel Software Developer\'s manual

相关标签:
7条回答
  • 2021-01-30 07:40

    Another way, using a debugger (gdb, windbg, ollydbg, ...) or disassembler (IDA), and then, set byte sequences in writable memory region. Finally, disassembly at the starting address of that byte sequences.
    It's seam complicated, but useful in some situations when you cracking/reversing.

    0 讨论(0)
  • 2021-01-30 07:41

    Check this very complete table of x86 opcodes on x86asm.net.

    Just CTRL+F and you're done! Be sure to read the correct line tho, as C8 for example may appear in several locations.

    0 讨论(0)
  • 2021-01-30 07:41

    While Intel Software Developer's Manual itself is definitely not very convenient to search through, the opcode tables in this manual could help. Take a look at the Appendix A "Opcode Map" in the volume 2B of the manual, it might be useful.

    0 讨论(0)
  • 2021-01-30 07:42

    Here is a pretty nice visual. Doesn't go into much detail, but if you just need to look up a hex value really quick, this should do it-

    Source: http://pnx.tf/files/x86_opcode_structure_and_instruction_overview.png

    0 讨论(0)
  • 2021-01-30 07:51

    Sandpile is probably what you're looking for. Still, the best way to look at the x86 encoding is not in hex but rather in octal. Suddenly x86 doesn't look so ugly and it makes some sense.

    The classic explanation of this was available at Usenet alt.lang.asm circa 1992, however, today is available in github

    0 讨论(0)
  • 2021-01-30 07:52

    A fast reference for looking up opcodes is sandpile. I need two clicks to find out what 0xc8 does (it's enter, btw).

    0 讨论(0)
提交回复
热议问题