#: 12623 S12/OS9/68000 (OSK)
15-Oct-91 20:22:01
Sb: #12618-#C language
Fm: Bob van der Poel 76510,2203
To: Dave Philipsen 73627,710 (X)
Dave, the calling rules are detailed quite nicely in the 68K C manual (page3-3
to 3-6. If you want to "cheat" a bit, write the function in C first, compile it
to a assembler file (cc file.c -a) and then go in and rewrite the compiler
generated stuff. But tell us: with the speed of the 680x0 and the relative
efficiency of C why are you coding in assembler?
There is 1 Reply.
|