|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectAsm
public abstract class Asm
Asm abstract class. Represents a generic unit in an assembly file such as an instruction or label. Asm is extended by Inst, Datum, and Label.
| Field Summary | |
|---|---|
protected int |
addr
Address of assembly unit (note: labels do not have unique addresses, instructions and datum do have unique addresses). |
protected int |
lineNumber
Line number of the assembly unit |
| Constructor Summary | |
|---|---|
Asm()
|
|
| Method Summary | |
|---|---|
int |
getAddr()
Returns the assembly unit's address. |
int |
getLineNumber()
Returns the assembly unit's line number. |
void |
setAddr(int a)
Sets the assembly unit's address. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int lineNumber
protected int addr
| Constructor Detail |
|---|
public Asm()
| Method Detail |
|---|
public int getLineNumber()
public int getAddr()
public void setAddr(int a)
a - address to set for assembly unit
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||