Address of built in procedures
Posted: Sat Jan 21, 2012 7:50 am
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 :At the moment something like this is only possible for user defined procedures but not for the built in 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: Select all
Allocate = @AllocateMemory()
EnableASM
MOV ebp, esp
SUB esp, 12
PUSH dword 1024
CALL Allocate
MOV esp, ebp
DisableASM