如何使用x86汇编调用c语言printf函数
具体过程:
一 用visual studio2022新建一个x86汇编项目
二 c语言调用x86汇编函数的代码部分
c_call_x86.asm
1 | ;c_call_x86.asm |
main.cpp
1 | #include <stdio.h> |
All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.
c_call_x86.asm
1 | ;c_call_x86.asm |
main.cpp
1 | #include <stdio.h> |