Use gcc's __asm__ version of the asm extension, which can be used in all standards