dspl.backend.x86
Class X86CCallInstructionProcessor

java.lang.Object
  extended by dspl.backend.CCallInstructionProcessor
      extended by dspl.backend.x86.X86CCallInstructionProcessor

public class X86CCallInstructionProcessor
extends CCallInstructionProcessor

CCallInstructionProcess for X86 ISA. Responsible for converting CCall instructions into the appriopriate series of instructions pushing the arguements onto the stack, calling the function, and lastly adjusting the stack (popping elements)

Author:
David

Constructor Summary
X86CCallInstructionProcessor()
           
 
Method Summary
 void processCCallInstruction(CCallInstruction inst, InstructionProcessor ip, SymbolTable st, AssemblyfileGenerator afg)
          Process a CCall Instruction, converting it into the proper asm instructions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

X86CCallInstructionProcessor

public X86CCallInstructionProcessor()
Method Detail

processCCallInstruction

public void processCCallInstruction(CCallInstruction inst,
                                    InstructionProcessor ip,
                                    SymbolTable st,
                                    AssemblyfileGenerator afg)
Description copied from class: CCallInstructionProcessor
Process a CCall Instruction, converting it into the proper asm instructions

Specified by:
processCCallInstruction in class CCallInstructionProcessor