hades.models.mips.instr
Class LoadWordToCoInstr

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

public class LoadWordToCoInstr
extends LoadBaseInstr
implements Resetable

load word instruction


Field Summary
protected  Coprocessor coproc
           
protected  int coprocNumber
           
 
Fields inherited from class hades.models.mips.instr.LoadBaseInstr
mem
 
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
LoadWordToCoInstr(PartHandler newPartHandler, Splitter newSplitter, int newCoprocNumber)
           
 
Method Summary
 int calcAlu()
          Calculate ALU, return result for visualization
 int giveDataAdr()
          Drive busses for data access, return real address
 int writeRegister()
          Write resulting value into register, return register written into
 
Methods inherited from class hades.models.mips.instr.LoadBaseInstr
translateDataAdr
 
Methods inherited from class hades.models.mips.instr.BaseInstr
getBreakpoint, getInstrLongFormat, getInstrName, getInstrShortFormat, getIsJump, init, operateData, por, reset, setBreakpoint, setInstrFrameNumber
 
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
 

Field Detail

coproc

protected Coprocessor coproc

coprocNumber

protected int coprocNumber
Constructor Detail

LoadWordToCoInstr

public LoadWordToCoInstr(PartHandler newPartHandler,
                         Splitter newSplitter,
                         int newCoprocNumber)
Method Detail

calcAlu

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

Overrides:
calcAlu in class BaseInstr

giveDataAdr

public int giveDataAdr()
Description copied from class: BaseInstr
Drive busses for data access, return real address

Overrides:
giveDataAdr in class BaseInstr

writeRegister

public int writeRegister()
Description copied from class: BaseInstr
Write resulting value into register, return register written into

Overrides:
writeRegister in class BaseInstr