tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] (no subject)


From: ANDY TAKKER
Subject: [Tinycc-devel] (no subject)
Date: Thu, 13 Jul 2017 07:19:30 +0300

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. :)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]