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

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

public final class LabelInstruction
extends AbstractInstruction

Label in the assembler code. Connects names and actual addresses.

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

Method Summary
static LabelInstruction get(String name)
           
 String getName()
           
 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
 

Method Detail

get

public static LabelInstruction get(String name)
Parameters:
name - of the label
Returns:
Label with this name, if it exists, null otherwise

toString

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

getName

public String getName()
Returns:
name of the label