Renesas TM V.3.20A Spezifikationen Seite 271

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 762
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 270
Renesas Technology, Tools FAQs
Last Updated: August 25, 2000
Document Number: 01051072_e
Q.
In the MR32R User's Manual, Section 3.5.11 Memory Pool Management Function, the subsection concerning 'variable length
memory pool management function' says: the specified maximum acquisition size of a memory block is 400B. But the actual block
acquired becomes more than specified size, 400B. Why is that?
A.
The MR32R calculates 4 types of fixed-length memory block sizes, based on the specified maximum acquisition size, in the
following order.
Calculation method of minimum size:
( (max. acquisition size + (memory management area - 1) ) / 96+1 ) * memory management area
*The memory management area is for all fixed-length blocks management and, therefore, requires 12 bytes.
1.
Calculate the four fixed-length block sizes by multiplying the minimum size by 1, 2, 4 or 8.2.
For example, when the maximum acquisition size is set at 400B, the fixed-length memory block size to be acquired is calculated in
the following manner:
1st size (minimum size): ((400+(12-1))/96+1)*12=60
2nd size (2 * min. size) : 120bytes(108bytes)
3rd size (4 * min. size) : 240bytes(228bytes)
4th size (8 * min. size) : 480bytes(468bytes)
Therefore, the actual acquired fixed-length block size may be bigger than the specified maximum size.
Top of Page | Back to Previous Page
Terms of Use Privacy Policy
(C)2004 Renesas Technology Corp., All Rights Reserved.
Seitenansicht 270
1 2 ... 266 267 268 269 270 271 272 273 274 275 276 ... 761 762

Kommentare zu diesen Handbüchern

Keine Kommentare