cr5-6 registers on i386

Clemens Kolbitsch clemens.kol@gmx.at
Mon Jul 30 17:19:00 GMT 2007


> The x86 architecture has control registers. 

well it has obviously at least some :-)

> They are not all 
> implemented in hardware; I believe the only ones which are implemented
> are %cr0 through %cr4 and %cr8 (64-bit only).

this is correct, yes...

> However, as the 
> relevant opcodes are not (yet) used for anything else, the GNU
> assembler and disassembler will recognize other registers.  You will
> presumably get an exception if you try to actually run the program on
> x86 hardware.

ok, didn't think that they were defined but not used - thanks A LOT for your 
help!!

greetings



More information about the Gcc-help mailing list