View Javadoc
1 package jrre.instructionset; 2 3 public class NoOperation extends Instruction { 4 5 private String message; 6 7 public NoOperation(String message){ 8 this.message = message; 9 length = 0; 10 } 11 public NoOperation(){ 12 this.message = ""; 13 } 14 /*** 15 * Executes the <strong><code>nop</code></strong> instruction. 16 * 17 */ 18 public void execute(){ 19 20 //System.out.println(toString()); 21 22 } 23 24 public String toString(){ 25 26 return "nop: "+message; 27 } 28 29 }

This page was automatically generated by Maven