Go to the documentation of this file.
33 #ifndef TCEASM_DATA_SECTION_CREATOR_HH
34 #define TCEASM_DATA_SECTION_CREATOR_HH
91 std::map<std::string, UValue>& addressSpaceUsedMAUs,
92 std::vector<std::string>& addedLabels,
LabelManager& labels);
bool isInitialized
If section contains initialization data.
std::vector< InternalSection > sections_
Internal data sections.
MachineResourceManager & resources_
TPEF Resources and strings.
int sizeInWords(UValue value, int MAUWidth, bool isSigned) const
bool fixedStartAddress
Is start address of the section fixed.
UValue currentStartAddress_
Start address of next line (if fixed address).
DataSectionCreator(MachineResourceManager &resourceManager, AssemblyParserDiagnostic *parent)
UValue startAddress
The start address of the section.
void finalize(TPEF::Binary &tpef, LabelManager &labels, bool littleEndian)
UValue length
Number of MAUs stored in section.
std::string addressSpace
Address space of the section.
UValue writeDataLineToTPEF(DataLine *line, TPEF::DataSection *dataSection, LabelManager &labels, UValue currentMAUIndex)
void setAreaStartAddress(UValue address)
bool isStartAddressDefined_
Is next data line address fixed.
std::vector< DataLine * > lines
Initialization data of the section. (or uninitialization data;)
void addDataLine(const DataLine &origLine)
void resolveDataAreaSizesAndLabelAddresses(std::map< std::string, UValue > &addressSpaceUsedMAUs, std::vector< std::string > &addedLabels, LabelManager &labels)