17 lines
368 B
Java
Executable File
17 lines
368 B
Java
Executable File
package backend.mips.instr;
|
|
|
|
import backend.mips.instr.type.MipsType;
|
|
|
|
public class MipsAnnotation extends MipsInstr {
|
|
private String annotation;
|
|
|
|
public MipsAnnotation(String anno) {
|
|
super(MipsType.ANNOTATION);
|
|
this.annotation = anno;
|
|
}
|
|
|
|
public String toString() {
|
|
return "# " + this.annotation + "\n";
|
|
}
|
|
}
|