Accessible Intel ASM programming reference?

Dec 08, 2004 6 Replies

Is there something available via the Web which gives detailed ASM syntax for Intel Pentium processors?



I haven't done ASM programming of Intel products for the last 30 years and would like to whack out a short ASM support function.



In particular, I want to know how to prescribe the operands for the 64/32 versions of mul/div instruc- tions.


For what assembler?

-- Grant Edwards grante Yow! If I felt any more at SOPHISTICATED I would DIE visi.com of EMBARRASSMENT!

masm:

formatting link
nasm:
formatting link
gnu as - djgpp environment :
formatting link

Since you have not done any ASM programming for the last

30 years, I would suggest you to read the x86 Assembly Language FAQ:
formatting link

Please note that "Protected Mode Programming" is an important topic with today's operating systems.

Hope this help,

Jean Tabel

He should have available to him at least gas and nasm. He might even have Microsofts MASM, but that is limited to running on DOS and Windoze systems.

Chuck F (cbfalconer@yahoo.com) (cbfalconer@worldnet.att.net) Available for consulting/temporary embedded and systems. USE worldnet address!

There is a lot of good info here:

formatting link

-jg

As the others have said, exact asm syntax is assembler dependent. The Intel docs on the IA32 Pentium architecture can be found at

formatting link

Scott

Thanks to you and the others who replied. I'll look into the references given.

I have the three-volume IA32 architecture set.

I am trying to use whatever assembler is included with the Watcom C suite.

I doubt the environment will be a problem for a four- or five- instruction math function which is strictly using the registers.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required