public class DisassembledInstruction extends Object
| Constructor and Description |
|---|
DisassembledInstruction(int address,
String mnemo,
String opCode)
Creates a new instance of DisassembledInstruction
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAddress()
Returns the address of the instruction.
|
String |
getMnemo()
Returns mnemonic representation of the instruction.
|
String |
getOpCode()
Returns operating code of the instruction.
|
void |
setAddress(int address)
Set the address of the instruction to a new value.
|
void |
setInstruction(String mnemo,
String opcode)
Assigns new/modified instruction.
|
public DisassembledInstruction(int address,
String mnemo,
String opCode)
address - The address of the instruction in memorymnemo - The mnemonic form of the instruction (textual representation)opCode - Operating code in textual representationpublic String getMnemo()
public String getOpCode()
public void setInstruction(String mnemo, String opcode)
mnemo - new mnemonics representation of the instructionopcode - new operating codepublic int getAddress()
public void setAddress(int address)
address - new address of the instructionCopyright © 2017. All rights reserved.