public void ge_operation(TextArea area,String ope,String left_var,String right_var,String prefix){

        if(ope.equals("+"))
        {
            String instr = prefix + "%add"+String.valueOf(add_num)+" = add nsw i32 "+left_var+", "+right_var+"\n";
            area.append(instr);
            add_num = add_num+1;
        }
        else if(ope.equals("-"))
        {
            String instr = prefix + "%sub"+String.valueOf(sum_num)+" = sub nsw i32 "+left_var+", "+right_var+"\n";
            area.append(instr);
            sum_num = sum_num+1;
        }
        else if(ope.equals("*"))
        {
            String instr = prefix + "%mul"+String.valueOf(mul_num)+" = mul nsw i32 "+left_var+", "+right_var+"\n";
            area.append(instr);
            mul_num = mul_num+1;
        }
        else if(ope.equals("/"))
        {
            String instr = prefix + "%div"+String.valueOf(div_num)+" = sdiv i32 "+left_var+", "+right_var+"\n";
            area.append(instr);
            div_num = div_num+1;
        }
        else if(ope.equals("%"))
        {
            String instr = prefix + "%rem"+String.valueOf(mod_num)+" = srem i32 "+left_var+", "+right_var+"\n";
            area.append(instr);
            mod_num = mod_num+1;
        }
    }