#define save_flags(x) asm("stc.b ccr,%0l" : "=r" (x))#define restore_flags(x) asm("ldc.w %0l,ccr" :: "r" (x))