Thursday, 15 January 2015

windows - Passing Params From One Proc to Another in x86 Assembly -


Therefore im has difficulty understanding how to pass from one proc to another parameter, a separate .sam file Both in I am using TASM on 64 PSI.

Then you can say that I have the main process:

  extrn addproc: proc, putint: proc main proc mov ax, n; Where N is an integer call addproc main endp end main  

How do I send the addproc and use it to add it to 2 (just for example)

 < Code> addproc proc add ax, 2 addproc endp end addproc  


No comments:

Post a Comment