views:

298

answers:

4

I'm somewhat new to assembly and have to look up the x86 instructions every now and then. Searching the web for every other opcode gets annoying after a while. Then there are the Intel Reference Manuals, but the contents page doesn't have direct links to the various sections in the pdf file, and doesn't list the 'true' page name but instead numbers things by [chapter]-[relative page number], and I have to use that to guess the page number of the opcode.

So the question is, is there any efficiently searchable offline reference for x86 instructions?

I vaguely remember that the CheatEngine disassembler provided some info for each opcode you clicked on in the disassembly. However it's Windows-only, and these days I use Linux most of the time. But something like that would be nice.

Edit: Well, I realize I can search for that chapter-pagenum string in the pdf, which is probably unique. But I'd still prefer a something I can type an opcode into and get the info straight back out.

+2  A: 

Opcode Reference I find this one somewhat overkill, but maybe it suits you.

+5  A: 

Parts 2a and 2b of the Intel manuals (free download):

http://www.intel.com/products/processor/manuals/

EDIT; If you're using OS X, then there is a Service (app) available which does exactly that. IIRC, installs with the CHUD tool set. (Originally omitted because it was not assumed that OS X was the platform, but still noteworthy).

Justin
.. I just talked about those manuals in my question.
int3
Yeah, sounds like what I would want.. but I don't use OS X. (Would remove downvote if you edited your post; right now the vote is too old to remove without an edit.)
int3
A: 

EDIT: never mind, answering another question I realized that this manual used gas (also called AT&T) syntax, this is not what you want if you want an equivalent of the Intel reference manuals. I had not paid attention because I use gas myself.


What about this one, courtesy of Sun? I've used it. Also I am not sure I understand what your problem is, but maybe that's because my pdf reader can search keywords directly in the PDF. You would solve this problem and more if you found one for Linux with a similar feature.

Pascal Cuoq
+1  A: 

I find that the Intel ref manuals come with a useful built-in indexing mechanism. Surprisingly enough, it is called the index.

Crashworks
Indeed. I feel stupid now. I guess I don't use pdfs enough.
int3