NASM - The Netwide Assembler

NASM Forum => Using NASM => Topic started by: nobody on December 03, 2008, 05:48:05 PM

Title: A good online instruction reference?
Post by: nobody on December 03, 2008, 05:48:05 PM
Is there a good on-line reference for assembler instructions. I looked around on the web but most are so brief as to be almost useless.

Example: CMP
A subtraction takes place but nothing gets stored anywhere (not word for word, but close).

I'm guessing that flags get set due to the subtraction but didn't see any information on this.

Michael
Title: Re: A good online instruction reference?
Post by: Frank Kotler on December 03, 2008, 11:59:37 PM
Intel/AMD manuals would be "the source", I guess. I don't like "Painful Document Format", so I haven't read 'em much. I like the old Nasm Manual version, but it has been dropped for lack of a maintainer. I've got the old - incomplete, buggy, and explicitly *not* supported by the Nasm Development Team - on line:

http://mysite.verizon.net/fbkotler/nasmdocr.html (http://mysite.verizon.net/fbkotler/nasmdocr.html)

I suspect that's where you got the description of "cmp" though. It does *not* cover effects on flags.

First bookmark I found:

http://ref.x86asm.net/ (http://ref.x86asm.net/)

Seems to be fairly currently maintained (and mentions flags).

Another great source of technical information:

http://www.sandpile.org/ (http://www.sandpile.org/)

I really can't say which of these is "good". RTFM is not my area of expertise - I prefer experimentation. :)

Best,
Frank
Title: Re: A good online instruction reference?
Post by: nobody on December 04, 2008, 01:45:00 AM
http://pdos.csail.mit.edu/6.828/2005/readings/i386/toc.htm (http://pdos.csail.mit.edu/6.828/2005/readings/i386/toc.htm)

> I don't like "Painful Document Format"

Agree :-(
Title: Re: A good online instruction reference?
Post by: nobody on December 04, 2008, 01:49:14 AM
http://freefile.kristopherw.us/uploads/temp/i386.pdf (http://freefile.kristopherw.us/uploads/temp/i386.pdf) :-(

http://freefile.kristopherw.us/uploads/temp/int80386.zip (http://freefile.kristopherw.us/uploads/temp/int80386.zip)

http://freefile.kristopherw.us/uploads/temp/int80387.zip (http://freefile.kristopherw.us/uploads/temp/int80387.zip)