|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthades.models.mips.core.Splitter
Split one instruction word into parts for further use by the instruction execution unit
Field Summary | |
protected int |
destReg
|
protected int |
function
|
protected int |
immediate
|
protected int |
immediateSigned
|
protected int |
instruction
|
protected int |
opcode
|
protected PartHandler |
partHandler
|
protected Registers |
reg
|
protected int |
shiftAmount
|
protected int |
sourceReg
|
protected int |
target
|
protected int |
targetReg
|
Constructor Summary | |
Splitter(PartHandler newPartHandler)
initialization |
Method Summary | |
java.lang.String |
formatOperands(java.lang.String format)
Format instruction operands for disassembling |
int |
getDestReg()
|
int |
getFunction()
|
int |
getImmediate()
|
int |
getImmediateSigned()
|
int |
getInstruction()
Access methods for instruction parts |
int |
getOpcode()
|
int |
getShiftAmount()
|
int |
getSourceReg()
|
int |
getTarget()
|
int |
getTargetReg()
|
void |
por()
Power on reset or hardware reset |
void |
reset()
software reset |
void |
splitInstruction(int newInstruction)
Split one instruction into parts |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected PartHandler partHandler
protected Registers reg
protected int instruction
protected int opcode
protected int sourceReg
protected int targetReg
protected int immediate
protected int immediateSigned
protected int target
protected int destReg
protected int shiftAmount
protected int function
Constructor Detail |
public Splitter(PartHandler newPartHandler)
Method Detail |
public void por()
por
in interface Resetable
public void reset()
reset
in interface Resetable
public void splitInstruction(int newInstruction)
public java.lang.String formatOperands(java.lang.String format)
public int getInstruction()
public int getOpcode()
public int getSourceReg()
public int getTargetReg()
public int getImmediate()
public int getImmediateSigned()
public int getTarget()
public int getDestReg()
public int getShiftAmount()
public int getFunction()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |