It is currently Tue Apr 07, 2020 9:32 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Call a procedure?
PostPosted: Fri Jul 27, 2012 3:59 am 
Offline
New User
New User

Joined: Wed Jul 25, 2012 3:50 am
Posts: 5
How would I call a procedure with CALL?

This is what I have so far
Code:
Procedure Sfl()
  Debug 1337
EndProcedure

lol.s = "hi"
lol2.s = "yo"

PUSH dword [v_lol]
PUSH dword [v_lol2]
CALL MessageRequester;


Top
 Profile  
Reply with quote  
 Post subject: Re: Call a procedure?
PostPosted: Fri Jul 27, 2012 9:53 am 
Offline
Addict
Addict
User avatar

Joined: Sat Aug 15, 2009 6:59 pm
Posts: 1252
Why would you want to do that?
There is no win in using ASM to call a procedure.

To do it you need to add a prefix to the procedure name but i dont know it from the top of my head. Take a look at the source code the PB compiler generates by specifieing /COMMENTED in the command line parameters.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye