Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Apple Xcode
- // main.c
- //
- // Created by Paulo G.P. on 5/21/11.
- //
- #include <stdio.h>
- #include <unistd.h>
- int main(int argc, const char * argv[]) {
- printf("Exemplo ASM\n");
- asm ("nop"); // no operation
- //asm ("ret"); // return from procedure
- //asm ("mov %ax, %bx"); // contents of the AX register to the BX register
- sleep(5);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement