Difference between revisions of "CSC231 Driver.c"

From dftwiki3
Jump to: navigation, search
(New page: <code><pre> driver.c wrapper to provide I/O capabilities to assembly programs: #include <stdio.h> extern int asm_main( void ); int main() { asm_main(); } </pre></code>)
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<code><pre>
 
<code><pre>
 
/* driver.c
 
/* driver.c
 +
    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();
}