intel opcodes

Ian Lance Taylor ian@wasabisystems.com
Tue Jun 8 15:56:00 GMT 2004


Fabiano Ramos <ramosf@cos.ufrj.br> writes:

> How many different instructions are in the IA-32 architecture?
> I cannot find this info.

There are many instructions.  And there are many variants of the
architecture, with slightly different instruction sets.  And you can
count the instructions in different ways, depending upon how you count
addressing modes, which are expressed differently in different
syntaxes.

That said, you can get a very rough approximation by looking closely
at this file:
    http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/include/opcode/i386.h?rev=1.43&content-type=text/x-cvsweb-markup&cvsroot=src

Ian



More information about the Gcc-help mailing list