mirror of
https://github.com/nArnoSNES/tcc-65816.git
synced 2024-06-12 13:29:29 +00:00
22 lines
202 B
C
22 lines
202 B
C
int b=1;
|
|
int foo()
|
|
{
|
|
int a;
|
|
int c;
|
|
a=0xff;
|
|
for (;b;b--)
|
|
{
|
|
c=1;
|
|
//asm(""::"r"(c));
|
|
c=(signed char)a;
|
|
}
|
|
if (c!=-1)
|
|
abort();
|
|
return c;
|
|
}
|
|
int main()
|
|
{
|
|
foo();
|
|
return 0;
|
|
}
|