this.size = size;
this.pagesize = pagesize;
}
public CodeSegment newCodeSegment(String name, BaseInterpreter bi, ErrorReporter er, Program p) {
CodeSegment cs;
if ( p != null ) {
cs = new ReprogrammableCodeSegment(name, p.program_end, bi, er, pagesize);
cs.load(p);
} else {
cs = new ReprogrammableCodeSegment(name, size, bi, er, pagesize);
}
return cs;
}