hades.models.mips.instr
Class BranchBaseInstr

java.lang.Object
  extended byhades.models.mips.instr.BaseInstr
      extended byhades.models.mips.instr.BranchBaseInstr
All Implemented Interfaces:
Resetable
Direct Known Subclasses:
BranchEqualInstr, BranchGreaterEqualInstr, BranchGreaterInstr, BranchLessEqualInstr, BranchLessInstr, BranchNotEqualInstr

public class BranchBaseInstr
extends BaseInstr
implements Resetable

This is the base class to all ALU using instructions in register format


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
BranchBaseInstr(PartHandler newPartHandler, Splitter newSplitter)
           
 
Method Summary
protected  void branch()
          Calculate branch destination and jump
 
Methods inherited from class hades.models.mips.instr.BaseInstr
calcAlu, 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

BranchBaseInstr

public BranchBaseInstr(PartHandler newPartHandler,
                       Splitter newSplitter)
Method Detail

branch

protected void branch()
Calculate branch destination and jump