|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectca.processor.Processor
public class Processor
This class encapsulates all of the information about a single processor.
| Constructor Summary | |
|---|---|
Processor(Element pi)
This function creates a new Processor object by parsing the corresponding XML. |
|
| Method Summary | |
|---|---|
Opcode |
findOpcode(java.util.List<java.lang.Integer> data)
This method finds the opcode corresponding to the given data. |
java.util.List<Opcode> |
findPossibleOpcodes(int[] binary,
int start,
int length)
|
java.lang.String |
getCpuName()
This method returns the CPU processor name. |
int |
getDataSpacing()
This method returns the maximum length of the printed opcode data. |
java.util.List<MnemonicFamily> |
getMnemonicFamilies()
This method returns the list of MnemonicFamiles. |
MnemonicFamily |
getMnemonicFamily(java.lang.String mnemonicSetName)
This method returns the MnemonicFamily info for the given name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Processor(Element pi)
pi - the XML element| Method Detail |
|---|
public java.util.List<Opcode> findPossibleOpcodes(int[] binary,
int start,
int length)
public Opcode findOpcode(java.util.List<java.lang.Integer> data)
data - the data to disassemble
public java.util.List<MnemonicFamily> getMnemonicFamilies()
public java.lang.String getCpuName()
public MnemonicFamily getMnemonicFamily(java.lang.String mnemonicSetName)
mnemonicSetName - name of the mnemonic family or null for the default
public int getDataSpacing()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||