Hi, everybody. Fabrice keep silence.
So, maybe someome of you can help.
I can't compile such a simple programm:

//RDTSCP cpuid
#include <stdio.h>

    main()
{
unsigned int a;
b:
   asm ( "cpuid" );
   asm ( "rdtsc" );
   asm ( "mov %eax, a" );
  printf("%d\n", a);
goto b;
}

Evil tongues from
https://sites.google.com/site/excelmidi/universal_student_ide/universal_student_ide_en
claim that TCC inline Assembler
not see local variables. I don't believe.
TCC such old. What I do wrong?

And don't tell me, that I'm first in the
world, who try to use inline Asm in TCC. :)

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to