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

java.lang.Object
  extended by de.cau.cs.kieler.krep.compiler.klp.AbstractInstruction
Direct Known Subclasses:
BinOpInstruction, CJmpInstruction, CommentInstruction, DeclareRegInstruction, DoneInstruction, IBinOpInstruction, IMovInstruction, InitRegInstruction, JmpInstruction, LabelInstruction, MovInstruction, PrioInstruction

public abstract class AbstractInstruction
extends Object

Abstract superclass for all KLP assembler instructions.

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

Constructor Summary
AbstractInstruction()
           
 
Method Summary
 String getComment()
           
 void setComment(String c)
           
abstract  String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractInstruction

public AbstractInstruction()
Method Detail

toString

public abstract String toString()
Overrides:
toString in class Object

setComment

public void setComment(String c)
Parameters:
c - comment fot this instruction

getComment

public String getComment()
Returns:
comment for this instructions