Temp
Class Label

java.lang.Object
  extended by Temp.Label

public class Label
extends java.lang.Object

A Label represents an address in assembly language.


Constructor Summary
Label()
          Makes a new label with an arbitrary name.
 
Method Summary
static Label get(java.lang.String s)
          Makes a new label that prints as "s".
 java.lang.String toString()
          a printable representation of the label, for use in assembly language output.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Label

public Label()
Makes a new label with an arbitrary name.

Method Detail

toString

public java.lang.String toString()
a printable representation of the label, for use in assembly language output.

Overrides:
toString in class java.lang.Object

get

public static Label get(java.lang.String s)
Makes a new label that prints as "s".