3f8 Subj : Re: Using NASM and Borland C++ 5.01 To : borland.public.cpp.borlandcpp,borland.public.tasm From : "Koms Bomb" Date : Thu Feb 12 2004 09:24 am > Has anyone gotten NASM to work with Borland c++ 5.01? > I've gotten NASM to generate .obj files, but when I link > the linker complains about defined symbols. (These are > symbols that I define in my assembler code) > Is there any documentation about how to use BC 5.01 > with an assmbler? 1, If you want to call the assembly function from C, you should declare the function name with a '_' prefix. When calling it from C, don't include the '_'. For example, you can declare a function in assembly like _MyFunc, then call it from C, MyFunc(...). 2, If you really want to get an assembler work with BC++, TASM or LZASM is a better choice. -- Koms Bomb *****Pardon my poor English***** --------------------- My TASM homepage, resource for assembly. Tools, articles, links. http://komsbomb.ols-lab.com . 0