dspl.backend
Class ArithmaticInstructionProcessor

java.lang.Object
  extended by dspl.backend.ArithmaticInstructionProcessor
Direct Known Subclasses:
X86ArithmaticInstructionrProcessor

public abstract class ArithmaticInstructionProcessor
extends java.lang.Object

Abstract class for ArithmaticInstructorProcessor.
For each targetted ISA, an implementation of ArithamticInstructionProcessor is required

Author:
David

Constructor Summary
ArithmaticInstructionProcessor()
          Dummy constructor.
 
Method Summary
abstract  void processAddition(ArithmaticInstruction instr, SymbolTable st, AssemblyfileGenerator afg)
          Process an Addition Arithmatic Operation
 void processArithmaticInstructor(ArithmaticInstruction instr, SymbolTable st, AssemblyfileGenerator afg)
          Process an Arithmatic Instruction
abstract  void processAssignment(ArithmaticInstruction instr, SymbolTable st, AssemblyfileGenerator afg)
          Process an Assignment Operation
abstract  void processConversion(ArithmaticInstruction instr, SymbolTable st, AssemblyfileGenerator afg)
          Process a Conversion Operation
abstract  void processConvolution(ArithmaticInstruction instr, SymbolTable st, AssemblyfileGenerator afg)
          Process a Convolution Operation
abstract  void processDivision(ArithmaticInstruction instr, SymbolTable st, AssemblyfileGenerator afg)
          Process a Divison Operation
abstract  void processMultiplication(ArithmaticInstruction instr, SymbolTable st, AssemblyfileGenerator afg)
          Process a Multiplication Operation
abstract  void processSubtraction(ArithmaticInstruction instr, SymbolTable st, AssemblyfileGenerator afg)
          Process a Subtraction Operation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArithmaticInstructionProcessor

public ArithmaticInstructionProcessor()
Dummy constructor.

Method Detail

processArithmaticInstructor

public void processArithmaticInstructor(ArithmaticInstruction instr,
                                        SymbolTable st,
                                        AssemblyfileGenerator afg)
Process an Arithmatic Instruction

Parameters:
instr -
st -
afg -

processAddition

public abstract void processAddition(ArithmaticInstruction instr,
                                     SymbolTable st,
                                     AssemblyfileGenerator afg)
Process an Addition Arithmatic Operation

Parameters:
instr -

processAssignment

public abstract void processAssignment(ArithmaticInstruction instr,
                                       SymbolTable st,
                                       AssemblyfileGenerator afg)
Process an Assignment Operation

Parameters:
instr -

processConversion

public abstract void processConversion(ArithmaticInstruction instr,
                                       SymbolTable st,
                                       AssemblyfileGenerator afg)
Process a Conversion Operation

Parameters:
instr -

processConvolution

public abstract void processConvolution(ArithmaticInstruction instr,
                                        SymbolTable st,
                                        AssemblyfileGenerator afg)
Process a Convolution Operation

Parameters:
instr -

processDivision

public abstract void processDivision(ArithmaticInstruction instr,
                                     SymbolTable st,
                                     AssemblyfileGenerator afg)
Process a Divison Operation

Parameters:
instr -

processMultiplication

public abstract void processMultiplication(ArithmaticInstruction instr,
                                           SymbolTable st,
                                           AssemblyfileGenerator afg)
Process a Multiplication Operation

Parameters:
instr -

processSubtraction

public abstract void processSubtraction(ArithmaticInstruction instr,
                                        SymbolTable st,
                                        AssemblyfileGenerator afg)
Process a Subtraction Operation

Parameters:
instr -