This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cr5-6 registers on i386


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]