Hello World
摘要:
/*TinyHelloWorld.c */ 1 char * str = "Hello world!\n"; 2 3 void print() 4 { 5 asm( "movl $13, %%edx \n\t" 6 "movl %0, %%ecx \n\t" 7 "movl $0, %%ebx \n\t" 8 "movl $4, %%eax \n\t" 9 "int $0x80 \n\t" 10 ::"r"(str):"edx", &q 阅读全文
posted @ 2012-12-27 13:45 阿加 阅读(351) 评论(0) 推荐(0) 编辑