|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectca.CodeLine
public class CodeLine
This class encapsulates a single line of assembly of disassembly.
| Constructor Summary | |
|---|---|
CodeLine(java.lang.String code)
This constructs a new CodeLine with the given original text. |
|
| Method Summary | |
|---|---|
int |
getAddress()
This method returns this instruction's memory address. |
java.lang.String |
getComment()
This method returns the instructions comment or null if there is none. |
int[] |
getData()
This method returns the raw binary data for this instruction. |
java.util.List<java.lang.String> |
getLabels()
This method returns all labels attached to this assembly line. |
Opcode |
getOpcode()
|
java.lang.String |
getOpcodeString()
|
java.lang.String |
getOriginalText()
This method returns the original line of code (before any processing). |
java.lang.String |
getSpecialCommentData()
This method returns the data of a system-targeted comment. |
void |
setAddress(int address)
|
void |
setComment(java.lang.String comment)
|
void |
setData(int[] data)
|
void |
setOpcode(Opcode opcode)
|
void |
setOriginalText(java.lang.String originalText)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CodeLine(java.lang.String code)
code - the original line of code| Method Detail |
|---|
public java.lang.String getSpecialCommentData()
public java.util.List<java.lang.String> getLabels()
public int getAddress()
public int[] getData()
public java.lang.String getComment()
public java.lang.String getOriginalText()
public void setAddress(int address)
public void setData(int[] data)
public void setComment(java.lang.String comment)
public void setOriginalText(java.lang.String originalText)
public void setOpcode(Opcode opcode)
public Opcode getOpcode()
public java.lang.String getOpcodeString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||