/**
* this instruction has been retired. Count it.
*/
public void countInstruction(int instruction)
{
State currentState=state[trackPos%state.length];
currentState.cycle=simulator.getPrevCycles(); // start of instruction
currentState.insn=instruction;
trackPos++;
int backtrackNum;
backtrackNum=Math.min(trackPos, state.length);