Click here to Skip to main content
15,888,102 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I'm looking for an opCode reference with the following parameters:
-Easily readable list
-Listed both oPCode and mNemonics
-opCode and mNemonic example...

Here is my example of what i'm looking for:

#0xA1:
Mnemonic: Mov Eax
opCode: 0xA1
Example: (5 bytes) Mov Eax 0x01010101 - 0xA1 0x01 0x01 0x01 0x01

The most important part would be the Example, if anyone know a good table with those parametes, please link it here...
Thanks for the future answers...
Posted
Comments
Richard MacCutchan 17-Jul-14 5:15am    
Search Google for "assembler documentation" or "machine code documentation" and you will find plenty.

OriginalGriff got you started with Solution 1, but I have a couple of valuable links you should check out as well.

Now, you don't actually specify it, but I assume you are interested in the Intel architecture and instruction set.
It used to be a lot 'simpler' ( ;) ) to get this kind of table overview back when we just had straight x86 architecture and a few different Intel CPU generations, but if you want a complete reference of 64bit and 32bit instructions as well as all relevant CPU instruction sets, we are not just talking about a simple table.

Lets, get to it. This is my best guess at what you want (the 'table' starts at page 82):
Intel® 64 and IA-32 Architectures Software Developer’s Manual (Volume 2A, 2B and 2C)[^]

As indicated by the title, this 1,493 page document is actually three documents merged into one. To see a full list of the documents in the collection, go here:
Intel® 64 and IA-32 Architectures Software Developer Manuals[^]


Another high quality source of information is Agner's Software optimization resources[^].
Specifically the 5 documents written by Agner himself is an outstanding collection, which he seems to continue working on (I first came across these documents +10 years ago).
I used to have printouts of the 4th document Instruction Tables[^] when I was writing assembly code to optimize the speed of a video CODEC. I believe this document includes information about non-Intel CPUs that you will (obviously) not find in the Intel documents.

Soren Madsen
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900