OpenASIP
2.0
|
#include <DisassemblyImmediateRegister.hh>
Public Member Functions | |
DisassemblyImmediateRegister (std::string rfName, Word index) | |
virtual | ~DisassemblyImmediateRegister () |
std::string | toString () const |
Public Member Functions inherited from DisassemblyElement | |
virtual | ~DisassemblyElement () |
Private Attributes | |
std::string | immName_ |
Name of the immediate unit. More... | |
Word | index_ |
Index of the register in the immediate unit. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from DisassemblyElement | |
DisassemblyElement () | |
Represents an immediate register in the disassembler.
Definition at line 43 of file DisassemblyImmediateRegister.hh.
DisassemblyImmediateRegister::DisassemblyImmediateRegister | ( | std::string | immName, |
Word | index | ||
) |
The constructor.
immName | Name of the immediate unit. |
index | Index of the register in the immediate unit. |
Definition at line 42 of file DisassemblyImmediateRegister.cc.
|
virtual |
|
virtual |
Returns disassembly of the immediate register.
Implements DisassemblyElement.
Definition at line 64 of file DisassemblyImmediateRegister.cc.
References immName_, index_, and Conversion::toString().
|
private |
Name of the immediate unit.
Definition at line 50 of file DisassemblyImmediateRegister.hh.
Referenced by toString().
|
private |
Index of the register in the immediate unit.
Definition at line 52 of file DisassemblyImmediateRegister.hh.
Referenced by toString().