|
OpenASIP 2.2
|
#include <InstructionElement.hh>


Public Member Functions | |
| virtual | ~InstructionElement () |
| bool | isMove () const |
| bool | isImmediate () const |
| bool | begin () const |
| void | setBegin (bool isBegin) |
| InstructionAnnotation * | annotation (Word index) const |
| void | addAnnotation (InstructionAnnotation *anAnnotation) |
| Word | annotationCount () const |
Public Member Functions inherited from TPEF::SectionElement | |
| virtual | ~SectionElement () |
Public Member Functions inherited from TPEF::SafePointable | |
| virtual | ~SafePointable () |
Protected Member Functions | |
| InstructionElement (bool isMove) | |
Protected Member Functions inherited from TPEF::SectionElement | |
| SectionElement () | |
Protected Member Functions inherited from TPEF::SafePointable | |
| SafePointable () | |
Private Attributes | |
| bool | begin_ |
| Is the first element of whole instruction. | |
| bool | isMove_ |
| Is move or immediate. | |
| std::vector< InstructionAnnotation * > | annotations_ |
| All annotations. | |
Abstract base class for all instructions of CodeSection.
Definition at line 77 of file InstructionElement.hh.
|
virtual |
Destructor
Definition at line 83 of file InstructionElement.cc.
References annotation(), and annotationCount().

|
protected |
Constructor
Definition at line 76 of file InstructionElement.cc.
| void TPEF::InstructionElement::addAnnotation | ( | InstructionAnnotation * | anAnnotation | ) |
| InstructionAnnotation * TPEF::InstructionElement::annotation | ( | Word | index | ) | const |
| Word TPEF::InstructionElement::annotationCount | ( | ) | const |
| bool TPEF::InstructionElement::begin | ( | ) | const |
Referenced by TPEF::TPEFCodeSectionWriter::actualWriteData(), TTAProgram::TPEFProgramFactory::addProcedures(), TPEFDisassembler::createInstruction(), CodeCompressorPlugin::immediateTerminal(), TPEFDisassembler::initCache(), CodeCompressorPlugin::initializeRelocations(), TPEF::CodeSection::initInstructionCache(), and TPEF::TPEFCodeSectionReader::readData().
| bool TPEF::InstructionElement::isImmediate | ( | ) | const |
| bool TPEF::InstructionElement::isMove | ( | ) | const |
Referenced by TTAProgram::TPEFProgramFactory::addProcedures(), and TPEFDisassembler::createInstruction().
| void TPEF::InstructionElement::setBegin | ( | bool | isBegin | ) |
|
private |
All annotations.
Definition at line 101 of file InstructionElement.hh.
|
private |
Is the first element of whole instruction.
Definition at line 96 of file InstructionElement.hh.
|
private |
Is move or immediate.
Definition at line 98 of file InstructionElement.hh.