btr-reg16.asm 548 B

1234567891011121314151617181920212223242526272829
  1. global _start
  2. %include "header.inc"
  3. mov dword [esp], -1
  4. mov dword [esp+4], -1
  5. mov dword [esp+8], -1
  6. mov dword [esp+12], -1
  7. mov dword [esp+16], -1
  8. mov dword [esp+20], -1
  9. mov dword [esp+24], -1
  10. mov dword [esp+28], -1
  11. mov eax, 0
  12. btr word [esp], ax
  13. mov eax, -5
  14. btr word [esp + 4], ax
  15. mov eax, 1
  16. btr word [esp], ax
  17. mov eax, 31
  18. btr word [esp], ax
  19. mov eax, 32
  20. btr word [esp], ax
  21. mov eax, 63
  22. btr word [esp], ax
  23. mov eax, 99
  24. btr word [esp], ax
  25. %include "footer.inc"