cmpxchg8b.asm 296 B

123456789101112131415161718192021
  1. global _start
  2. section .data
  3. %include "header.inc"
  4. mov eax, 123456789
  5. mov edx, 987654321
  6. mov dword [esp], 123456789
  7. mov dword [esp+4], 987654321
  8. cmpxchg8b [esp]
  9. push eax
  10. push ecx
  11. push ebx
  12. push edx
  13. pushf
  14. and dword [esp], 8ffh
  15. %include "footer.inc"