I am wondering how I would go about externalizing a proc (example below) so I can use it when compiling two separate file together
FOOBAR PROC
;do something
RET
FOOBAR ENDP
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
extern foobar:proc
There’s also a ‘proto’ directive to do an extern definition of a procedure that includes parameters so you can use ‘invoke’ to pass parameters to it.