Hello Everyone,
I need some pointers on how to get an inline asm function to return a quad. I'm playing around with making "unique" numbers so I though i would investigate the TimeStampCounter(RDTSC). This instruction returns it's result in EAX and EDX.
This just doesn't do the job. I also want to know why the instruction RDTSC gives me a syntax error when used inline.
------------------
Cheers!
[This message has been edited by mark smit (edited April 22, 2001).]
I need some pointers on how to get an inline asm function to return a quad. I'm playing around with making "unique" numbers so I though i would investigate the TimeStampCounter(RDTSC). This instruction returns it's result in EAX and EDX.
Code:
function GetTimeStamp() as quad asm dw &H0310F ;opcode for RDTSC asm mov function[0],eax asm mov function[4],edx end function
Code:
asm RDTSC **NO GO**
Cheers!
[This message has been edited by mark smit (edited April 22, 2001).]
Comment