For Programmers: Free Programming Magazines  


Home > Archive > A86 Assembler > November 2004 > Re: Accessing debug registers with nasm









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Accessing debug registers with nasm
Phil Carmody

2004-11-16, 6:51 pm

spamtrap@crayne.org (Devesh Agrawal) writes:

> Hi ,
> I want to know how I can access debug registers in intel 386 , like
> DR6 , DR7 etc using nasm , when i say something like xor dr6,dr6 , it
> tells that I have used invalid operands , any ideas ?


Yes, they're invalid operands for an XOR.

Did you not think of trying to MOV them into a general purpose
register before trying to perform arithmetic on them?

Phil
--
They no longer do my traditional winks tournament lunch - liver and bacon.
It's just what you need during a winks tournament lunchtime to replace lost
.... liver. -- Anthony Horton, 2004/08/27 at the Cambridge 'Long Vac.'

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com