|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthicosim.components.backend.processor.Decoder
public class Decoder
Helper for the processor to decode.
Constructor Summary | |
---|---|
Decoder()
Konstruktor - setup the arrays. |
Method Summary | |
---|---|
Instruction |
decipherALUCommand(int command)
This method is used to return a SCALAR-ALU-Instruction enum depending on the given intValue. |
Instruction |
decipherFLAGCommand(int command)
This method is used to return a FLAG-Instruction enum depending on the given intValue. |
Instruction |
decipherJMP_NOPCommand(int command)
This method is used to return a JMP_NOP-Instruction enum depending on the given intValue. |
Instruction |
decipherLOAD_STORECommand(int command)
This method is used to return a LOAD-STORE-Instruction enum depending on the given intValue. |
Processor.ScalarRegister |
decipherScalarRegister(int register)
This method is used to return a ScalarRegister enum depending on the given intValue. |
ScalarType |
decipherType(int type)
This method is used to return a ScalarType enum depending on the given intValue. |
VectorType |
decipherVectorType(int type)
This method is used to return a VectorType enum depending on the given intValue. |
VecWord |
decipherWord(int word)
This method is used to return a VecWord enum depending on the given intValue. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Decoder()
Method Detail |
---|
public Processor.ScalarRegister decipherScalarRegister(int register)
register
- - int
public ScalarType decipherType(int type)
type
- - int
public VecWord decipherWord(int word)
word
- - int
public VectorType decipherVectorType(int type)
type
- - int
public Instruction decipherJMP_NOPCommand(int command)
command
- - int
public Instruction decipherFLAGCommand(int command)
command
- - int
public Instruction decipherLOAD_STORECommand(int command)
command
- - int
public Instruction decipherALUCommand(int command)
command
- - int
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |