Go to the documentation of this file. 1 #ifndef _H8300_IRQFLAGS_H
2 #define _H8300_IRQFLAGS_H
7 asm volatile (
"stc ccr,%w0" :
"=r" (
flags));
13 asm volatile (
"orc #0x80,ccr" : : :
"memory");
18 asm volatile (
"andc #0x7f,ccr" : : :
"memory");
30 asm volatile (
"ldc %w0,ccr" : :
"r" (
flags) :
"memory");
35 return (flags & 0x80) == 0x80;