OpenASIP
2.0
|
#include <DataInstructionAddressDef.hh>
Public Member Functions | |
DataInstructionAddressDef (Address start, int size, InstructionReference &dest, bool littleEndian) | |
virtual | ~DataInstructionAddressDef () |
virtual bool | isInitialized () const |
virtual bool | isAddress () const |
virtual bool | isInstructionAddress () const |
virtual Address | destinationAddress () const |
DataDefinition * | copy () const |
Public Member Functions inherited from TTAProgram::DataDefinition | |
DataDefinition (Address start, int size, bool littleEndian, MinimumAddressableUnit *initData=NULL, bool allZeros=false) | |
DataDefinition (Address start, const std::vector< MinimumAddressableUnit > &initData, bool littleEndian) | |
virtual | ~DataDefinition () |
virtual Address | startAddress () const |
virtual void | setStartAddress (Address start) |
virtual MinimumAddressableUnit | MAU (int index) const |
virtual int | size () const |
virtual void | setDestinationAddress (Address dest) |
bool | isLittleEndian () const |
Private Attributes | |
InstructionReference | dest_ |
Destination instruction of data area. More... | |
Describes characteristics of a memory area containing an address to an instruction.
Definition at line 48 of file DataInstructionAddressDef.hh.
TTAProgram::DataInstructionAddressDef::DataInstructionAddressDef | ( | Address | start, |
int | size, | ||
InstructionReference & | dest, | ||
bool | littleEndian | ||
) |
Creates data area definition containing reference to an instruction.
start | Starting address of definition. |
size | Number of MAUs that area represents. |
dest | Instruction which is referred by the data definition. |
Definition at line 47 of file DataInstructionAddressDef.cc.
|
virtual |
|
virtual |
Copying of this class is not allowed.
This class can't be copied, because InstructionReferece cannot be copied correctly.
Reimplemented from TTAProgram::DataDefinition.
Definition at line 107 of file DataInstructionAddressDef.cc.
References __func__.
|
virtual |
Returns destination address, where to intialization value refers.
Reimplemented from TTAProgram::DataDefinition.
Definition at line 94 of file DataInstructionAddressDef.cc.
References TTAProgram::Instruction::address(), dest_, and TTAProgram::InstructionReference::instruction().
|
virtual |
Returns true, class contains always address reference.
Reimplemented from TTAProgram::DataDefinition.
Definition at line 74 of file DataInstructionAddressDef.cc.
|
virtual |
Returns true, class defines always initialized data area.
Reimplemented from TTAProgram::DataDefinition.
Definition at line 64 of file DataInstructionAddressDef.cc.
|
virtual |
Returns true if init data of definition contains an instruction address.
Reimplemented from TTAProgram::DataDefinition.
Definition at line 84 of file DataInstructionAddressDef.cc.
|
private |
Destination instruction of data area.
Definition at line 66 of file DataInstructionAddressDef.hh.
Referenced by destinationAddress().