|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdspl.backend.InstructionProcessor
public class InstructionProcessor
InstructionProcessor is the primary Class used to take Intermediate Instructions and properly dispatch them to be converted into the appriopriate machine-specific instruction set
| Field Summary | |
|---|---|
protected AssemblyfileGenerator |
afg
AssemblyfileGenerator to write the assembly instructions to |
protected ArithmaticInstructionProcessor |
aip
The target ISA's Arithmatic Instruction processor |
protected BranchInstructionProcessor |
bip
The target ISA's Branch Instruction Processor |
protected CCallInstructionProcessor |
cip
The target ISA's CCall Instruction Processor |
protected LoopInstructionProcessor |
lip
The target ISA's Loop Instruction Processor |
protected SymbolTable |
st
SymbolTable for declared variables |
| Constructor Summary | |
|---|---|
InstructionProcessor(SymbolTable st,
AssemblyfileGenerator afg)
Constructs an InstructionProcessor given the provided SymbolTable and AssemblyfileGenerator to route instructions to |
|
| Method Summary | |
|---|---|
void |
processInstruction(Instruction inst)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected SymbolTable st
protected AssemblyfileGenerator afg
protected ArithmaticInstructionProcessor aip
protected BranchInstructionProcessor bip
protected CCallInstructionProcessor cip
protected LoopInstructionProcessor lip
| Constructor Detail |
|---|
public InstructionProcessor(SymbolTable st,
AssemblyfileGenerator afg)
st - afg - | Method Detail |
|---|
public void processInstruction(Instruction inst)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||