Xref: utzoo alt.msdos.programmer:250 comp.sys.ibm.pc:32429 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!husc6!ukma!simon From: simon@ms.uky.edu (G. Simon Gales) Newsgroups: alt.msdos.programmer,comp.sys.ibm.pc Subject: Calling C functions from assembly Summary: How. Keywords: C ASM Help Message-ID: <12324@s.ms.uky.edu> Date: 1 Aug 89 14:21:07 GMT Reply-To: simon@ms.uky.edu (G. Simon Gales) Organization: U of Kentucky, Mathematical Sciences Lines: 11 I'm trying to call some C functions from assembly, using MSC 5.0 and either MASM or TASM. I could write a dummy _main() in C, if this makes things easier, but I'm still not sure what needs to be setup to call a C subroutine. Can anyone clue me in on how to do this? -- Simon Gales@The University of Kentucky simon@ms.uky.edu | 'Fate... protects fools, little children, simon@UKMA.BITNET | and ships named Enterprise.' {rutgers, uunet}!ukma!simon | - Riker, ST:TNG