Skip to content
Snippets Groups Projects
assembly_gen.c 36.4 KiB
Newer Older
        case MCC_TAC_FUNCTION_END :
            fprintf(out, "\tleave\n");
	        fprintf(out, "\tret\n");
krf41037's avatar
krf41037 committed
            break;
    
        case MCC_TAC_UNKNOWN:
    fprintf(out, "\n");
krf41037's avatar
krf41037 committed

    //TODO add constants
    mcc_asm_print_constant(out,constants);

    //fprintf(out, ".LCONST%d:\n", i);