hades.models.mips.instr
Class IllegalInstr

java.lang.Object
  extended byhades.models.mips.instr.BaseInstr
      extended byhades.models.mips.instr.IllegalInstr
All Implemented Interfaces:
Resetable

public class IllegalInstr
extends BaseInstr
implements Resetable

Illegal does nothing (except printing a warning) and will be decoded for all instructions that can't be identified


Field Summary
 
Fields inherited from class hades.models.mips.instr.BaseInstr
breakpoint, dataMmuAdr, dataRealAdr, dataValue, instrFrameNumber, instrLongFormat, instrName, instrShortFormat, isJump, partHandler, reg, regWritten, result, splitter
 
Constructor Summary
IllegalInstr(PartHandler newPartHandler, Splitter newSplitter)
           
 
Method Summary
 int calcAlu()
          Calculate ALU, return result for visualization
 
Methods inherited from class hades.models.mips.instr.BaseInstr
getBreakpoint, getInstrLongFormat, getInstrName, getInstrShortFormat, getIsJump, giveDataAdr, init, operateData, por, reset, setBreakpoint, setInstrFrameNumber, translateDataAdr, writeRegister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hades.models.mips.core.Resetable
por, reset
 

Constructor Detail

IllegalInstr

public IllegalInstr(PartHandler newPartHandler,
                    Splitter newSplitter)
Method Detail

calcAlu

public int calcAlu()
Description copied from class: BaseInstr
Calculate ALU, return result for visualization

Overrides:
calcAlu in class BaseInstr