View Full Version : How to link c with asssembly ?


Alt+Ctrl+Del
alsalam 3alaykom

can any body tell me how can i do it ?
i have some functions written in c others in c++ and i want to call other procedures that i have written in assembly form these functions

what EXACTLY i have to do ?

and how to do it in the opp. way (call c/c++ functions from asm. module)?


thnx

MaherG
All I know about integrating some assembly into your C++ code is



void main(void)
{
_asm
{
//Assembly code
}
}


I remember meeting a tutorial on C++/ASM on www.planetsourcecode.com <--Search there.

Maher

angoranimi
http://lists.insecure.org/lists/honeypots/2002/Oct-Dec/0029.html

nothing better than a working piece of code (with interesting functionality).

Alt+Ctrl+Del
i think u have missed my question

i mean two files one is .asm and the other is .c the first has a function let it be asm_fun() and the other has another one let it be c_fun()

how to call asm_fun() from c_fun() and vice virsa


that what is what i mean