Difference between revisions of "CSC231 Driver.c"
Line 3: | Line 3: | ||
D. Thiebaut | D. Thiebaut | ||
wrapper to provide I/O capabilities to assembly programs | wrapper to provide I/O capabilities to assembly programs | ||
+ | Assembly program should provide global entry point called | ||
+ | "asm_main." | ||
*/ | */ | ||
+ | |||
#include <stdio.h> | #include <stdio.h> | ||
Latest revision as of 13:46, 23 September 2008
/* driver.c
D. Thiebaut
wrapper to provide I/O capabilities to assembly programs
Assembly program should provide global entry point called
"asm_main."
*/
#include <stdio.h>
extern int asm_main( void );
int main() {
asm_main();
}