From: Tim Hoolihan <thoolihan@yahoo.com>
To: Landon Blake <lblake@ksninc.com>
Cc: linux-assembly@vger.kernel.org
Subject: Re: Using C Libraries From Assembly
Date: Mon, 29 Aug 2005 15:32:14 -0400 [thread overview]
Message-ID: <431362BE.2080902@yahoo.com> (raw)
In-Reply-To: <0D544207876CDA428F17DD7EA448C192088AC0@bailey.DOMAIN.KSNINC.PVT>
Try googling on "printf assembly". I found a few good examples there.
I'm not sure what assembler or syntax style you're using, so it's
probably best to dig through the search results yourself.
-Tim
Landon Blake wrote:
>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
>-
>To unsubscribe from this list: send the line "unsubscribe linux-assembly" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
>
next prev parent reply other threads:[~2005-08-29 19:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-29 19:13 Using C Libraries From Assembly Landon Blake
2005-08-29 19:32 ` Tim Hoolihan [this message]
2005-08-29 20:37 ` Stephen Ray
2005-08-30 9:17 ` Stephen Pelc
2005-08-30 14:23 ` Richard Cooper
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=431362BE.2080902@yahoo.com \
--to=thoolihan@yahoo.com \
--cc=lblake@ksninc.com \
--cc=linux-assembly@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.