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