Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/15/02 16:36
Read: times


 
#22989 - RE: calling Assembly program from C
When I do this my method is as follows:

I create a dummy function in C such as
bit AsmFunc( data hello)
{
sbuf = hello;// make sure hello is not optimized out
return (TRUE);
}

then I compile it with the .SRC directive and save the assembler listing, column edit out the binary and now know exatly where the C compiler put the input variable and expect the return to be. Then I can code the routine to do what I had planned.

Erik

List of 3 messages in thread
TopicAuthorDate
calling Assembly program from C            01/01/70 00:00      
RE: calling Assembly program from C            01/01/70 00:00      
RE: calling Assembly program from C            01/01/70 00:00      

Back to Subject List