I can't get MASM to compile the intruction or do anything with CR4. I need to check PSE and PAE bits. I'm in a driver and using ring0 instructions except these two? I mean the compiler just won't allow it? I tried:

assume cr4:nothing

but that didn't get it. Do I need to machine code these instructions in using MASM?
Posted on 2003-10-11 19:04:09 by mrgone
I think you need to turn on protected instructions by adding a "p". For example if you'd normally have .686 try .686p instead.
Posted on 2003-10-12 08:08:35 by Eóin
You were right on target ,actully it wasn't a "p" that was needed but I had .386.....lol
Posted on 2003-10-12 13:49:27 by mrgone