int main( int argc, char *argv[] ) { printf( "----- begin prog\n" ); int ret = 7; asmexit( ret ); printf( "----- final prog\n" ); return 0; // never! };
void gencode(TOKEN pcode, int varsize, int maxlabel) { TOKEN name, code; name = pcode->operands; code = name->link->link; nextlabel = maxlabel + 1; stkframesize = asmentry(name->stringval,varsize); genc(code); asmexit(name->stringval); }