112 static_cast<unsigned int>(-1) >>
117 for (
unsigned int i = 0; i < numOfMAUs; i++) {
122 if (shiftCount <
static_cast<int>(
sizeof(value)*
BYTE_BITWIDTH)) {
125 currentMAU = (value >> shiftCount) & mauMask;
131 for (
int j = mauInBytes-1; j >= 0; j--) {
132 Byte currentByte =
static_cast<Byte>(currentMAU);
133 setByte(byteOffset + j, currentByte);
166 static_cast<unsigned int>(-1) >>
171 for (
unsigned int i = 0; i < numOfMAUs; i++) {
177 if (shiftCount <
static_cast<int>(
sizeof(value)*
BYTE_BITWIDTH)) {
180 currentMAU = (value >> shiftCount) & mauMask;
185 for (
int j = mauInBytes-1; j >= 0; j--) {
186 Byte currentByte =
static_cast<Byte>(currentMAU);
187 setByte(byteOffset + j,currentByte);
Word MinimumAddressableUnit
Type for storing a MAU (must be unsigned type!). This limits the maximum size of the simulated minimu...
find Finds info of the inner loops in the false
virtual void setByte(Word offset, Byte aByte)
virtual Section * clone() const
static LEDataSection proto_
Prototype instance of section.
virtual void writeValue(Word index, Word numOfMAUs, unsigned long value)
virtual SectionType type() const
virtual Word MAUsToBytes(Word mauCount) const
static void registerSection(const Section *section)
@ ST_LEDATA
Initialized little endian data section.
ASpaceElement * aSpace() const