return "(@"+offset+"): sendto " + dest;
}
}
+ }
- public static class CodeBagDescriptor extends Literal {
- /** address of CBD, relative to address that this instruction was loaded from */
- public final long offset;
- public final long size;
- public CodeBagDescriptor(Destination dest, long offset, long size) {
- super(dest); this.offset = offset; this.size = size; }
- public String toString() {
- String off = ""+offset;
- if (offset > 0) off = "+"+off;
- return "(CBD @"+off+"+"+size+"): sendto " + dest;
- }
+ public static class CodeBagDescriptor extends Instruction {
+ /** address of CBD, relative to address that this instruction was loaded from */
+ public final Pump pump;
+ public final long offset;
+ public final long size;
+ public CodeBagDescriptor(Pump pump, long offset, long size) {
+ this.pump = pump;
+ this.offset = offset;
+ this.size = size;
+ }
+ public String toString() {
+ String off = ""+offset;
+ if (offset > 0) off = "+"+off;
+ return "(CBD @"+off+"+"+size+"): sendto " + pump;
}
}
+
}