Passing Function arguments use only stack,no registers.(for m68k)
Cliff Tsai
clifftsai@axisoft.com
Thu Aug 16 04:28:00 GMT 2001
Hi:
How can I compile a C code(wih GCC for 68k)
using only Stack to pass function arguments,but
dont' use registers?
Because I have a platform that run a OS which is
not compiled by GCC.
So when I write a C code and using m68k-coff-gcc to
compile,I found that gcc will generate assembly code (-S )
that pass some arguments with registers.
But according to the manual I got,the OS need AP use "only stack" to
pass arguments,but don't use any register?How can I do?
Thanks
Cliff
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
More information about the crossgcc
mailing list