This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: [urgent] C source with asm
- To: help-gcc at gnu dot org
- Subject: Re: [urgent] C source with asm
- From: n8tm at aol dot comnojunk (Tim Prince)
- Date: 28 Oct 1999 06:51:51 GMT
- Newsgroups: gnu.gcc.help
- Organization: AOL http://www.aol.com
- References: <VIQR3.417$Q5.30090@news1.rdc1.ab.home.com>
- Xref: wodc7nx0 gnu.gcc.help:1636
>First, how should I name the function in the assembly side?? Should I
>"extern" the function(s) in the C source in order to call them?? How can I
>access the global variables from the C source in the assembly??
Write a skeleton of the function in C with all the linkage references included,
compile it with -S, and fill in the details.
Tim Prince
tprince@computer.org