www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/21/16:58:14

From: mcarter@
Newsgroups: comp.os.msdos.djgpp
Subject: pentium RDMSR instruction
Date: 21 Nov 1996 13:20:03 GMT
Organization: NETCOM Network Operations
Lines: 21
Message-ID: <571ku3$gf1@news2.noc.netcom.net>
Reply-To: mat_carter AT bio-rad DOT com
NNTP-Posting-Host: mcarter.uk.bio-rad.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I've got the new DJGPP binaries 2.7 for v2.1 and the assembler now recognizes
Pentium instructions - great!  RDTSC works fine but RDMSR does not.  It gets 
encoded as 0x0F,0x32 which is right but I get the following error when it is run:

>Exiting due to signal SIGILL
>Invalid Opcode at eip=00001581
>eax=d2504e7b ebx=0004e080 ecx=00000011 edx=00000dcf esi=00000054 edi=0000c4d0
>ebp=0004c4a4 esp=0004c488 program=C:\UTILS\GNU\A.EXE
>cs: sel=00d7  base=00400000  limit=0005ffff
>ds: sel=00df  base=00400000  limit=0005ffff
>es: sel=00df  base=00400000  limit=0005ffff
>fs: sel=00b7  base=0001dfe0  limit=0000ffff
>gs: sel=00ef  base=00000000  limit=ffffffff
>ss: sel=00df  base=00400000  limit=0005ffff
>
>Call frame traceback EIPs:
>  0x00001581
>  0x00001b2e

Anyone else get this problem?  Should I have posted this to an assembly
news group?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019