Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!clyde!uunet!aplcen!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!wuarchive!decwrl!shelby!lindy!news From: LC.YRS@forsythe.stanford.edu (Richard Stanton) Newsgroups: comp.sys.ibm.pc Subject: How do I link Assembly routines with C? Message-ID: <6237@lindy.Stanford.EDU> Date: 5 Dec 89 18:51:11 GMT Sender: news@lindy.Stanford.EDU (News Service) Lines: 18 I recently downloaded a program off SIMTEL that was written in C, and called two assembly language routines. The assembly code contained the line PUBLIC [names of routines] but when I compiled the C program and tried to link it with the object file from the .ASM code, I got a message telling me I had two unresolved external references, even though the two names exactly matched the names defined in the .ASM source. What am I missing? I am using MS Quick C (v2), and MASM 3.0. Thanks Richard Stanton pstanton@gsb-what.stanford.edu