jmce - 1_02

jmce.sim.cpu
Class MultiOpcode

java.lang.Object
  extended by jmce.sim.cpu.AbstractOpcode
      extended by jmce.sim.cpu.MultiOpcode
All Implemented Interfaces:
Opcode

public final class MultiOpcode
extends AbstractOpcode

Multi opcode.

Special implementation of Opcode can hold other 256 opcodes.

For performance reason the real implementation is in the parent class from version 1.02.

Version:
1.02
Author:
Mario Viara

Field Summary
 
Fields inherited from class jmce.sim.cpu.AbstractOpcode
desc, length, multiOpcode, opcode, opcodes, prefixOpcode, runtimeOpcode, times
 
Constructor Summary
MultiOpcode(int opcode)
           
 
Method Summary
 int exec(int pc)
          Exec the specific opcode
 
Methods inherited from class jmce.sim.cpu.AbstractOpcode
clearCounter, getCounter, getDescription, getLength, getMaxLength, getOpcode, getOpcode, getOpcodeCount, getTimes, incCounter, isMultiOpcode, setDescription, setOpcode, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MultiOpcode

public MultiOpcode(int opcode)
Method Detail

exec

public int exec(int pc)
         throws SIMException
Description copied from interface: Opcode
Exec the specific opcode

Throws:
SIMException

jmce - 1_02