public void Accept(CIL_Data data) { Data += "\t buffer: .space 65536 \n" + "\t zero: .byte 0 \n" + "\t strsubstrexception: .asciiz \"Substring index exception\" \n"; foreach (var strVar in data._stringVars.Values) { Data += strVar + ":\t .asciiz \t" + "\"" + data._stringVars[strVar] + "\"\n"; } }
public void Accept(CIL_Data data) { Data += "\nbuffer: .space 65536 \n" + "zero: .byte 0 \n" + "strsubstrexception: .asciiz \"Substring index exception\" \n" + "divisionZero: .asciiz \"Division by Zero Exception\" \n\n"; foreach (var strVar in data._stringVars.Keys) { Data += data._stringVars[strVar] + ":\t .asciiz \t" + "\"" + strVar + "\"\n"; } }
public CIL_Program(CIL_Code code, CIL_Data data, CIL_Types types) { Code = code; Data = data; Types = types; }