All Packages Class Hierarchy This Package Previous Next Index
Class Temp.Label
java.lang.Object
|
+----Temp.Label
- public class Label
- extends Object
A Label represents an address in assembly language.
-
Label()
- Makes a new label with an arbitrary name.
-
Label(String)
- Makes a new label that prints as "name".
-
Label(Symbol)
- Makes a new label whose name is the same as a symbol.
-
toString()
- a printable representation of the label, for use in assembly
language output.
Label
public Label(String n)
- Makes a new label that prints as "name".
Warning: avoid repeated calls to new Label(s) with
the same name s.
Label
public Label()
- Makes a new label with an arbitrary name.
Label
public Label(Symbol s)
- Makes a new label whose name is the same as a symbol.
toString
public String toString()
- a printable representation of the label, for use in assembly
language output.
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index