Mail Archives: djgpp/1996/07/27/08:09:38
On Fri, 26 Jul 1996, patrick fox wrote:
>If I allocate a pointer with pointer=malloc(10), how would I go about
>accessing the memory location in an external .S file?
Just pass it to the routine (a regular C call) then, in the .S, load it into
ESI, EDI, WHATEVER and voila!
Of course you have to make sure your .S routine uses C calling convention.
Mark
/*******************************/
/** So here I am once more... **************************************/
/** When you grown up and leave your playground, where you kissed **/
/** your Prince and found your Frog - remember the Jester that **/
/** showed you tears, a Script for Tears... ************************/
/*********************************************/
- Raw text -