cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/28/21:55:33

From: Edward COFFEY <ecoffey AT ecr DOT mu DOT oz DOT au>
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
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019