This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [urgent] C source with asm


>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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]