package main.coding_170423.jvm.cmd; import main.coding_170423.jvm.clz.ClassFile; /** * Created by peterchen on 2017/4/26. */ public class NoOperandCmd extends ByteCodeCommand { public NoOperandCmd(ClassFile clzFile, String opCode) { super(clzFile, opCode); } @Override public String toString() { return this.getOffset()+":" +this.getOpCode() + " "+ this.getReadableCodeText(); } public int getLength(){ return 1; } }