flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > Bug in mov to/from control register

Author
Thread Post new topic Reply to topic
CandyMan



Joined: 04 Sep 2009
Posts: 303
Location: film "CandyMan" directed through Bernard Rose OR Candy Shop
CandyMan
Code:
        use32
        mov     eax,cr8         ;\ fasm 1.73.22 generates the same code
        mov     eax,cr9         ;/
        mov     cr8,eax         ;\ same as above
        mov     cr9,eax         ;/    

_________________
smaller is better
Post 02 Mar 2020, 21:23
View user's profile Send private message Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 7616
Location: Kraków, Poland
Tomasz Grysztar
Probably CR9 should not be allowed at all here. Looking at recent AMD manuals I see that only CR8 has ever been documented for F0-prefixed variant.
Post 02 Mar 2020, 21:38
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.