jmce - 1_02

jmce.sim
Interface Opcode

All Known Implementing Classes:
AbstractOpcode, InvalidOpcode, MultiOpcode, OpcodePrefix8086, OpcodeRuntime8086, PrefixOpcode, RuntimeOpcode

public interface Opcode


Method Summary
 void clearCounter()
          Clear execution counter
 int exec(int pc)
          Exec the specific opcode
 long getCounter()
          return execution counter
 java.lang.String getDescription()
           
 int getLength()
           
 int getOpcode()
           
 int getTimes()
           
 void incCounter()
          increment exec counter
 void setDescription(java.lang.String desc)
           
 

Method Detail

getOpcode

int getOpcode()

getLength

int getLength()

getTimes

int getTimes()

getDescription

java.lang.String getDescription()

setDescription

void setDescription(java.lang.String desc)

exec

int exec(int pc)
         throws SIMException
Exec the specific opcode

Throws:
SIMException

clearCounter

void clearCounter()
Clear execution counter


getCounter

long getCounter()
return execution counter


incCounter

void incCounter()
increment exec counter


jmce - 1_02