|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthicosim.components.backend.processor.Labels
public class Labels
Class to store the read in labels.
Constructor Summary | |
---|---|
Labels()
|
Method Summary | |
---|---|
int |
getAddressOfLabel(java.lang.String label)
This method is used to get the address of a label. |
java.lang.String |
getLabelAt(int address)
This method is used to get a label at the given address. |
void |
putLabelAt(int address,
java.lang.String label)
This method is used to put a label at the given address. |
int |
size()
|
java.lang.String |
toString()
String representation. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Labels()
Method Detail |
---|
public int size()
public void putLabelAt(int address, java.lang.String label)
address
- label
- public java.lang.String getLabelAt(int address)
public int getAddressOfLabel(java.lang.String label)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |