public static void assignByReference(String result, String exp, int[] offset) throws Exception{
		if(result.equals("MP_FIXED")){
			result = "MP_FLOAT";
		}
		if(exp.equals("MP_FIXED")){
			exp = "MP_FLOAT";
		}
		if(result.equals(exp)) {
			// do nothing
		} else if(result.equals("MP_FLOAT") && exp.equals("MP_INTEGER")) {
			bw.write("CASTSF\n");
		} else if (result.equals("MP_INTEGER") && exp.equals("MP_FLOAT")) {
			bw.write("CASTSI\n");
		} else {
			throw new Exception("Assiging incompatible types");
		}
		bw.write("POP @" + offset[0] + "(D" + offset[1] + ")\n");
	}