摘要: 首先来写一个简单的c代码~1 //externC_funA.c2 void funA()3 {}利用gcc进行编译生成汇编:gcc -c externC_funA.c -S得到的汇编代码如下: 1 .file "externC_funA.c" 2 .text 3 .globl funA //注意这里的标示符为funA 4 .type funA, @function 5 funA: 6 pushl %ebp 7 movl %esp, %ebp 8 popl %ebp 9 ret10 .size fun... 阅读全文
posted @ 2012-04-06 09:17 werookies 阅读(1137) 评论(0) 推荐(2) 编辑