代码
- foo.asm
extern bar_func;
[section .data]
arg1 dd 3
arg2 dd 4
[section .text]
global _start
global foo_print
_start:
mov eax, dword[arg1]
push eax
mov eax, dword [arg2]
push eax
call bar_func
add esp,
代码
extern bar_func;
[section .data]
arg1 dd 3
arg2 dd 4
[section .text]
global _start
global foo_print
_start:
mov eax, dword[arg1]
push eax
mov eax, dword [arg2]
push eax
call bar_func
add esp,