OpenASIP
2.0
|
#include <DisassemblyOperand.hh>
Public Member Functions | |
DisassemblyOperand (std::string operationName, Word operand) | |
virtual | ~DisassemblyOperand () |
virtual std::string | toString () const |
Public Member Functions inherited from DisassemblyElement | |
virtual | ~DisassemblyElement () |
Private Attributes | |
std::string | operationName_ |
Name of the operation. More... | |
Word | operand_ |
Operand index. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from DisassemblyElement | |
DisassemblyElement () | |
Represents an operand of unuiversal machine in the disassembler.
Definition at line 43 of file DisassemblyOperand.hh.
DisassemblyOperand::DisassemblyOperand | ( | std::string | operationName, |
Word | operand | ||
) |
Constructor.
operationName | Name of the operation. |
operand | Index of the operand. |
Definition at line 45 of file DisassemblyOperand.cc.
|
virtual |
|
virtual |
Returns disassembly of the operand.
Implements DisassemblyElement.
Definition at line 63 of file DisassemblyOperand.cc.
References operand_, operationName_, and Conversion::toString().
|
private |
|
private |
Name of the operation.
Definition at line 50 of file DisassemblyOperand.hh.
Referenced by toString().