buf = new StringBuffer();
buf.append("cd ${d}");
buf;
buf = new StringBuffer();
buf.append("%clear");
buf;
buf = new StringBuffer();
if (!assemble_cmd.equals("")) {
buf.append("\"");
buf.append(assemble_cmd);
buf.append("\"");
} else {
buf.append("nasmw.exe");
}
if(!f.equals("")) {
buf.append(" -f ");
buf.append(f);
buf.append(" \"");
buf.append(source);
buf.append("\"");
}
if (ext) {
buf.append(" -o \"");
buf.append(MiscUtilities.getFileNameNoExtension(buffer.getPath()));
if (!o.equals("")) {
buf.append(".");
buf.append(o);
}
buf.append("\"");
}
if (l) {
buf.append(" -l \"");
buf.append(MiscUtilities.getFileNameNoExtension(buffer.getPath()));
buf.append(".lst\"");
}
if (M) buf.append(" -M");
if (g) buf.append(" -g");
if (!F.equals("")) {
buf.append(" -F ");
buf.append(F);
}
if (!X.equals("")) {
buf.append(" -X ");
buf.append(X);
}
if (!O.equals("")) {
buf.append(" -O");
buf.append(O);
}
if (t) buf.append(" -t");
if (!i.equals("")) {
buf.append(" -i\"");
buf.append(i);
buf.append("\"");
}
if (!misc_params.equals("")) {
buf.append(" ");
buf.append(misc_params);
}
buf;