Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.38 KB | None | 0 0
  1. uint32_t returnEAX;
  2.  
  3. __asm__ __volatile__(
  4.         "pushfl                  \n\t"
  5.         "pushfl                  \n\t"
  6.         "xorl  $0x200000, (%esp) \n\t"
  7.         "popfl                   \n\t"
  8.         "pushfl                  \n\t"
  9.         "popl  %eax              \n\t"
  10.         "xorl (%esp), %eax       \n\t"
  11.         "popfl                   \n\t"
  12.     : "=a" (returnEAX) );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement