Last active
October 16, 2015 13:50
-
-
Save blaquee/4d75fb7d0017bc5ab312 to your computer and use it in GitHub Desktop.
junk code emu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| push 20 ;push random value on stack | |
| mov eax, 0x11111111 ;assign eax a random value | |
| mov ecx, 10 ;assign ecx a value | |
| mov ebx, 0x33333333 ;assign ebx a random value | |
| xor eax, ebx ;exclusive or eax with ebx | |
| mov ebx, 20 ;assign new value to ebx | |
| add eax, ecx ;compute a sum of eax and ecx | |
| pop eax ;overwrite everything we just did on eax | |
| ret |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment