OpenASIP
2.0
|
#include <DisassemblyImmediate.hh>
Public Member Functions | |
DisassemblyImmediate (SimValue value, bool signExtend) | |
virtual | ~DisassemblyImmediate () |
virtual std::string | toString () const |
Public Member Functions inherited from DisassemblyElement | |
virtual | ~DisassemblyElement () |
Private Attributes | |
SimValue | value_ |
Immediate value. More... | |
bool | signExtend_ |
The value is sign extended if set to true. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from DisassemblyElement | |
DisassemblyElement () | |
Represents an inline immediate value in the disassembler.
Definition at line 42 of file DisassemblyImmediate.hh.
DisassemblyImmediate::DisassemblyImmediate | ( | SimValue | value, |
bool | signExtend | ||
) |
The constructor.
value | Inline immediate value. |
Definition at line 42 of file DisassemblyImmediate.cc.
|
virtual |
|
virtual |
Returns disassembly of the inline immediate value.
Implements DisassemblyElement.
Definition at line 61 of file DisassemblyImmediate.cc.
References signExtend_, SimValue::sLongWordValue(), Conversion::toString(), SimValue::uLongWordValue(), value_, and SimValue::width().
Referenced by TTAProgram::TerminalImmediate::toString(), and TTAProgram::TerminalLaneIDImmediate::toString().
|
private |
The value is sign extended if set to true.
Definition at line 51 of file DisassemblyImmediate.hh.
Referenced by toString().
|
private |