linux-assembly.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Using C Libraries From Assembly
@ 2005-08-29 19:13 Landon Blake
  2005-08-29 19:32 ` Tim Hoolihan
  2005-08-30  9:17 ` Stephen Pelc
  0 siblings, 2 replies; 5+ messages in thread
From: Landon Blake @ 2005-08-29 19:13 UTC (permalink / raw)
  To: linux-assembly

Linux Assembly Programmers,

I had posted an earlier message about adding graphics to an assembly
language program. After some research the past couple of days it seems
that most available, open source graphics libraries provide a C API. I
would like to add graphics capabilities to the simple programming
language I want to write in assembly.

So, my next question is this:

Can you call C functions from a program written in assembly language?
I've googled this subject, but was only able to find one paragraph that
didn't seem to help much. Most information seems to deal with going the
other direction, that is, calling assembly from C functions. However,
I'm guessing that it is possible, since both languages end up as machine
code at some point. Are there any resources that explain how to do this?

Thanks for all the help.

Landon

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-08-30 14:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-29 19:13 Using C Libraries From Assembly Landon Blake
2005-08-29 19:32 ` Tim Hoolihan
2005-08-29 20:37   ` Stephen Ray
2005-08-30  9:17 ` Stephen Pelc
2005-08-30 14:23   ` Richard Cooper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).