Go to the documentation of this file.
34 #ifndef TTA_INSTRUCTION_ELEMENT_HH
35 #define TTA_INSTRUCTION_ELEMENT_HH
58 const std::vector<Byte>&
payload()
const;
void addAnnotation(InstructionAnnotation *anAnnotation)
static const size_t MAX_ANNOTATION_BYTES
Maximum number of bytes that annotation may contain.
InstructionAnnotation * annotation(Word index) const
virtual ~InstructionElement()
const std::vector< Byte > & payload() const
std::vector< InstructionAnnotation * > annotations_
All annotations.
bool begin_
Is the first element of whole instruction.
Word annotationCount() const
bool isMove_
Is move or immediate.
Word id_
Identifcation code of annotation.
void setBegin(bool isBegin)
std::vector< Byte > payLoad_
Data of annotation.
Byte byte(Byte index) const
InstructionAnnotation(Word anId, const std::vector< Byte > &payload)
InstructionElement(bool isMove)