Hi,
I am tired of searching the INet for CPU commands, including undocumented ones. So are there any E-books that have the full (or the most full) listing with description of new Intel/AMD commands, including MMX/3D Now and other commands and undocumented ones.
Posted on 2002-09-09 08:30:28 by Maestro
intel is your friend
though i doubt there are undocumented opcodes in that documentation :grin:
Posted on 2002-09-09 08:57:53 by Tola
Of course I know about that list. But I need a third-side reference (with description), that highlights common AMD and Intel opcodes.
Posted on 2002-09-09 09:06:06 by Maestro
Why? :confused:
Posted on 2002-09-09 09:46:14 by Qweerdy
Perhaps I want to be sure my program will work on ANY CPU and won't generate an exception.
Posted on 2002-09-09 11:14:00 by Maestro
All "normal" instructions (in opcodes.hlp in Masm32\help\ folder) are supported by both, just some extended instruction sets (I believe SIMD is AMD only?) are not. If you're planning on using one of the extended instruction sets, just check if that particular set is available on both CPU's. In general, you'll need to worry more about if a program will work on older CPU's of the same brand than on CPU's of a different brand.

By the way, AMD has a instruction set listing available for download as well.
Posted on 2002-09-09 12:15:26 by Qweerdy

Perhaps I want to be sure my program will work on ANY CPU and won't generate an exception.


http://msdn.microsoft.com/vbasic/
http://gcc.gnu.org

:grin:
Posted on 2002-09-09 12:23:49 by bazik


I meant assembler progs, :)
Posted on 2002-09-09 12:40:09 by Maestro
I haven't looked into this before.. but I have to wonder, how do you check to see if a CPU supports certain instruction sets? Suppose you want to check for MMX. Do you just execute an MMX instruction and wait for an exception? Or is there a better way to do this?

--Chorus
Posted on 2002-09-09 13:17:42 by chorus
Just look up the Intel data on CPUID and how to use it and you can determine which instruction set is available on any processor.

Regards,

hutch@movsd.com
Posted on 2002-09-09 19:23:20 by hutch--
so simple... :)
Thanks hutch--
Posted on 2002-09-10 13:51:04 by chorus