#include <stdlib.h>
#include <stdio.h>
int main(int argc, char *argv[])
{
unsigned int val = 0;
unsigned int i = 0xFFFFFEFF;
__asm__("pushf\n\t"
"push %0\n\t"
"popf\n\t"
"pushf\n\t"
"pop %0\n\t"
"popf"
: "=r"(val)
: "r"(i)
: "%0");
return 0;
}
I2luY2x1ZGUgPHN0ZGxpYi5oPgojaW5jbHVkZSA8c3RkaW8uaD4KCmludCBtYWluKGludCBhcmdjLCBjaGFyICphcmd2W10pCnsKCXVuc2lnbmVkIGludCB2YWwgPSAwOwoJdW5zaWduZWQgaW50IGkgPSAweEZGRkZGRUZGOwoKCV9fYXNtX18oInB1c2hmXG5cdCIKCSJwdXNoICUwXG5cdCIKCSJwb3BmXG5cdCIgCgkicHVzaGZcblx0IgoJInBvcCAlMFxuXHQiCgkicG9wZiIKCTogIj1yIih2YWwpCgk6ICJyIihpKQoJOiAiJTAiKTsgCgkKCXByaW50ZigiMHglMDhYXG4iLCB2YWwpOwoJCiAgICByZXR1cm4gMDsKfQ==