Author Topic: A good online instruction reference?  (Read 17509 times)

nobody

  • Guest
A good online instruction reference?
« 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

Offline Frank Kotler

  • NASM Developer
  • Hero Member
  • *****
  • Posts: 2667
  • Country: us
Re: A good online instruction reference?
« Reply #1 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

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/

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

Another great source of technical information:

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

nobody

  • Guest
Re: A good online instruction reference?
« Reply #2 on: December 04, 2008, 01:45:00 AM »
http://pdos.csail.mit.edu/6.828/2005/readings/i386/toc.htm

> I don't like "Painful Document Format"

Agree :-(