de.cau.cs.kieler.krep.compiler.klp
Class IBinOpInstruction

java.lang.Object
  extended by de.cau.cs.kieler.krep.compiler.klp.AbstractInstruction
      extended by de.cau.cs.kieler.krep.compiler.klp.IBinOpInstruction

public class IBinOpInstruction
extends AbstractInstruction

Immediate binary operation.

Rating yellow
(2010-02-05) review by cmot, msp, tam

Constructor Summary
IBinOpInstruction(Variable toVar, RegAccess read, int c, Operator operator)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class de.cau.cs.kieler.krep.compiler.klp.AbstractInstruction
getComment, setComment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IBinOpInstruction

public IBinOpInstruction(Variable toVar,
                         RegAccess read,
                         int c,
                         Operator operator)
Parameters:
toVar - variable that stores the result
read - register that holds first parameter
c - constant value as second parameter
operator - operation
Method Detail

toString

public String toString()
Specified by:
toString in class AbstractInstruction