ret.append("if (first" + buffer + " >= BUFSIZE) first" + buffer + " = 0;\n");
ret.append("first" + buffer + " = first" + buffer + " & MINUSONE;\n");
    public String getC(boolean fp) {	StringBuffer ret = new StringBuffer();		if (type == FIRE) {	    ret.append("static_send(buffer" + buffer +		       "[first" + buffer + "++]);\n");	    ret.append("if (first" + buffer + " >= BUFSIZE) first" + 		       buffer + " = 0;\n");	    // ret.append("if (first" + buffer + " == last" + 	    //       buffer + ") print_int(2000);\n");	    	}	else { //receive	    ret.append("buffer" + buffer + "[last" + buffer + "++] = static_receive");	    if (fp)		ret.append("_f");	    ret.append("();\n");	    ret.append("if (last" + buffer + " >= BUFSIZE) last" + buffer + " = 0;\n");	}	return ret.toString();    }