windows - Passing Params From One Proc to Another in x86 Assembly -
so im having trouble understanding how pass parameters 1 proc another, both in different .asm file. im using tasm on 64 bit.
so lets have main proc:
extrn addproc: proc, putint: proc main proc mov ax, n ;where n integer call addproc main endp end main
how send n
addproc , use add 2 (just example)
addproc proc add ax, 2 addproc endp end addproc
Comments
Post a Comment