From: tapq4 AT central DOT susx DOT ac DOT uk (Rob Kramer) Newsgroups: comp.os.msdos.djgpp Subject: Calling C functions from assembly? Date: 19 Sep 1997 11:11:06 GMT Organization: University of Sussex Lines: 14 Message-ID: <5vtmka$9ma$1@infa.central.susx.ac.uk> NNTP-Posting-Host: solx1.central.susx.ac.uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hi All, Can anyone tell me how I can call C functions from assembly code (or point me to an example)? I want to call a packet driver's software interrupt from within my assembly code, using the __dpmi_int() function. I tried to find the source for __dpmi_int() in the libc sources, but couldn't find it. Does anyone know where the source is kept? Thanks! Rob Kramer r DOT kramer AT sussex DOT ac DOT uk