Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %include "io.inc"
- section .text
- global CMAIN
- CMAIN: ;int argc, char **argv
- mov ebp, esp
- cmp dword[ebp + 4], 1
- jne .exit
- mov eax, dword[ebp + 8]
- mov eax, dword[eax]
- PRINT_STRING [eax]
- .exit:
- xor eax, eax
- ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement