Go to the documentation of this file.
50 using ReferenceManager::SafePointer;
51 using ReferenceManager::SectionKey;
52 using ReferenceManager::SectionOffsetKey;
53 using ReferenceManager::SectionIndexKey;
119 assert((guard == 0) || (guard ==
'!') || (guard ==
'?'));
234 return reg - regOffset;
HalfWord SectionId
Type for storing binary file section ids.
void initializeMove(BinaryStream &stream, MoveElement *move) const
void setGuardInverted(bool flag)
void updateMoveDestination(MoveElement *move, const HalfWord dest) const
void initializeImmediateMove(BinaryStream &stream, MoveElement *move, ImmediateElement *immediate) const
unsigned int readPosition()
static const int OFFSET_TO_IMMEDIATE_VALUE
virtual ~AOutTextSectionReader()
@ BOOL_RF
Universal boolean register file.
void setDestinationUnit(HalfWord aDestinationUnit)
void setGuarded(bool flag)
Word convertAOutIndexToTPEF(const Word reg) const
void setDestinationType(FieldType aType)
static void addObjectReference(SectionIndexKey key, const SafePointable *obj)
virtual void readData(BinaryStream &stream, Section *section) const
void setBus(HalfWord aBus)
#define assert(condition)
virtual void addElement(SectionElement *element)
static const Word FIRST_BOOL_REGISTER
Index of the first Boolean register.
static AOutTextSectionReader proto_
Prototype to be registered to SectionReader.
void setGuardIndex(HalfWord aGuardIndex)
@ INLINE_IMM
Inline immediate unit id.
virtual BinaryReader * parent() const
Word FileOffset
Type for storing absolute file offsets.
static void registerSectionReader(const SectionReader *sReader)
void setDestinationIndex(HalfWord aDestinationIndex)
void setReference(InstructionElement *elem, SectionOffset sectionOffset, SectionId sectionID) const
void setGuardType(FieldType gType)
void setBegin(bool isBegin)
Word SectionOffset
Type for storing offsets relative to a given base offset value.
void updateMoveSource(MoveElement *move, const Word src) const
static const Header & header()
void setSourceUnit(HalfWord aSourceUnit)
static const Word FIRST_FU_REGISTER
Index of the first function unit register.
void setSourceIndex(HalfWord aSourceIndex)
@ UNIVERSAL_BUS
Universal bus.
@ FP_RF
Universal floating point register file.
@ INT_RF
Universal integer register file.
static const Word FIRST_FP_REGISTER
Index of the first floating-point register.
virtual Section::SectionType type() const
static const Word FIRST_INT_REGISTER
Index of the first integer register in a.out.
void setSourceType(FieldType aType)
void setGuardUnit(HalfWord aGuardUnit)
@ UNIVERSAL_FU
Universal function unit.