Re: Help! Program crashed when call the inline assembly function continuously

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

 



On 1/04/2010 3:56 a.m., spark.z wrote:

Many thanks to you, the app works correctly according to your
sulotion:handshake:

But I am confused with another situation as below (static int my_an = 0 ===>

You really need to get those ASM clobber declarations correct, otherwise GCC won't think that your code has any effect on the variable.

Cheers,
Nicholas Sherlock


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux