From: Edward COFFEY Newsgroups: comp.os.msdos.djgpp Subject: Assembly Date: Thu, 29 Apr 1999 11:18:08 +1000 Organization: Department Of Engineering Computer Resources Lines: 11 Message-ID: <3727B34F.267DD9F0@ecr.mu.oz.au> NNTP-Posting-Host: tooheys.ecr.mu.oz.au Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.51C-SGI [en] (X11; I; IRIX 6.5 IP22) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I can write the odd bit of nifty assembly, how do I call routines from within a C program? I have had a look at some of the Allegro .s files and I seem to be using the same format as them, but when I try to call functions, they're not there. Why can't my C programs 'see' the assembly routines? Also, in the Allegro .s files, the routines dont seem to have anything to signal the end of them, how do you return control to the C program? Thanks for reading, Ed