vs2010 中内嵌汇编中调用 printf 的注意事项:
1、在_asm{......}中可以不考虑堆栈平衡的问题 系统会自动加入 以保证堆栈平衡2、在push完printf的参数之后 调用printf时 一定要 call dword ptr printf 以前一直忽略这个dword ptr 所以导致测试一直失败
3、参数顺序 应该是 从右到左
2014-11-26 14:21
2014-11-26 15:58
2014-11-26 16:06
2014-11-26 16:15
2014-11-26 16:30
2014-11-26 17:18
2014-11-26 18:48
2014-11-26 19:58
2014-11-26 21:18
2014-11-27 10:21