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);
void resolveDataAreaSizesAndLabelAddresses(std::map< std::string, UValue > &addressSpaceUsedMAUs, std::vector< std::string > &addedLabels, LabelManager &labels)
void addDataLine(const DataLine &origLine)
UValue writeDataLineToTPEF(DataLine *line, TPEF::DataSection *dataSection, LabelManager &labels, UValue currentMAUIndex)
void finalize(TPEF::Binary &tpef, LabelManager &labels, bool littleEndian)
void setAreaStartAddress(UValue address)
UValue currentStartAddress_
Start address of next line (if fixed address).
MachineResourceManager & resources_
TPEF Resources and strings.
bool isStartAddressDefined_
Is next data line address fixed.
std::vector< InternalSection > sections_
Internal data sections.
int sizeInWords(UValue value, int MAUWidth, bool isSigned) const
UValue length
Number of MAUs stored in section.
UValue startAddress
The start address of the section.
std::vector< DataLine * > lines
Initialization data of the section. (or uninitialization data;)
bool isInitialized
If section contains initialization data.
bool fixedStartAddress
Is start address of the section fixed.
std::string addressSpace
Address space of the section.