Hello!
All GCC versions crashes when compiling this code
int func(int a)
{
asm("xchgb %b0,%h0":"=S"(a):"0"(a));
return a;
}
also it crashes when compiling this code
int func(int a)
{
asm("xchgb %b0,%h0":"=r"(a):"0"(a));
return a;
}
wher to "=r" assigned not GENERAL CPU386 REGISTER
Best regards! Nick