public override string GenerateCode() { var s = "# coolc-output" + ":\n";//todo add the calss name :( s += ".data\n"; s += "self:\t.word\t0\t#self\n"; s += GiveMeTheData(); s += ".text\n"; s += base.GenerateCode(); s += MIPS.BasicFunctions(); s += MIPS.HelpFunctions(); return(s); }