dioscuri.module.cpu32
Class ArrayBackedInstructionSource

java.lang.Object
  extended by dioscuri.module.cpu32.ArrayBackedInstructionSource
All Implemented Interfaces:
InstructionSource

public class ArrayBackedInstructionSource
extends java.lang.Object
implements InstructionSource

Author:
Bram Lohman, Bart Kiers

Constructor Summary
ArrayBackedInstructionSource(int[] microcodes, int[] positions)
           
 
Method Summary
 int getLength()
           
 int getMicrocode()
           
 boolean getNext()
           
 int getX86Length()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayBackedInstructionSource

public ArrayBackedInstructionSource(int[] microcodes,
                                    int[] positions)
Parameters:
microcodes -
positions -
Method Detail

getNext

public boolean getNext()
Specified by:
getNext in interface InstructionSource
Returns:
-

getMicrocode

public int getMicrocode()
Specified by:
getMicrocode in interface InstructionSource
Returns:
-

getLength

public int getLength()
Specified by:
getLength in interface InstructionSource
Returns:
-

getX86Length

public int getX86Length()
Specified by:
getX86Length in interface InstructionSource
Returns:
-