public final class Label
extends java.lang.Object
Label
class labels some memory location with the provided identifier.
This is required to provide an external access to this location using an architecture-independent identifier. For example, a register storing program counter value is marked as PC to allow the external engines that have no knowledge about the architecture to access it.
Constructor and Description |
---|
Label(java.lang.String name,
Memory memory) |
Label(java.lang.String name,
Memory memory,
int index) |
Modifier and Type | Method and Description |
---|---|
Location |
access() |
java.lang.String |
getName() |