Is there a way to use in-line assembler instructions (IN,OUT,STI and CLI) in Visual C without having

  • Thread starter Thread starter Jaime Boloix
  • Start date Start date
J

Jaime Boloix

Is there a way to use in-line assembler instructions (IN,OUT, STI and CLI)
in Visual C without having to make a SYS driver with the DDK?
 
Thanks, Wouldn't it be nice for it to be that simple?
It's my mistake for not being so clear. That works only in Windows 98, the
problem is with Windows 2000 and Windows XP which allow user programs to run
only in user mode and this are instructions that would only work in kernel
mode. Remember this is a Windows2000 newsgroup.
 
Ah, I knew there was more to your question, my assembler is very rusty

You are right these are priviledged instructions that cause the NT-based OSs
to terminate a user mode application

My guess is what you first deduced, you need to communicate with a driver
operating at ring 0
 
Back
Top