It is currently Wed Jun 19, 2013 7:49 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Address of built in procedures
PostPosted: Sat Jan 21, 2012 7:50 am 
Offline
Addict
Addict

Joined: Sun Aug 08, 2004 5:21 am
Posts: 1108
Location: Netherlands
When using inline ASM, it would be convenient sometimes to be able to call one of the PB procedures.
The symbols for these procedures are not always the same cross platform. Therefore it would be nice if it would be possible to get the address of a PB procedure.

Example :
Code:
Allocate = @AllocateMemory()

EnableASM
MOV ebp, esp
SUB esp, 12
PUSH dword 1024
CALL Allocate
MOV esp, ebp
DisableASM
At the moment something like this is only possible for user defined procedures but not for the built in procedures.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 4 guests


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