Guest User

Untitled

a guest
Jul 20th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. void swap( unsigned int &a, unsigned int &b )
  2. {
  3. __asm {
  4. pushad
  5. mov eax, a
  6. mov ebx, b
  7. mov b, eax
  8. mov a, ebx
  9. popad
  10. }
  11. }
Add Comment
Please, Sign In to add comment