📅  最后修改于: 2022-03-11 14:55:11.809000             🧑  作者: Mango
#define 0_EFLAGS 0 //CF
#define 6_EFLAGS 6 //ZF
#define 7_EFLAGS 7 //SF
#define 11_EFLAGS 11 //OF
#define 18_EFLAGS 18 //AC
#define 21_EFLAGS 21 //ID
int main (void) {
int flags = 0x001D01D2;
unsigned char resultado = ( flags >> 18_EFLAGS ) & 1;
return 0;
} /* end main */