Keil Logo

RAMSIZE Linker Directive

Abbreviation

RS

Arguments

RAMSIZE (bytes)

Default

RAMSIZE (128)

µVision

This information is automatically set using information from the Device Database.

Description

The RAMSIZE directive specifies the number of bytes of DATA and IDATA in your target 8051 device. The number of bytes specified must be between 64 and 256.

Note

  • The information needed to specify correct values for the RAMSIZE directive may be found in the device data sheet. Many data sheets refer to the DATA and IDATA memory as on-chip RAM. However, some devices have additional on-chip RAM that is mapped into XDATA memory space. Since the size of DATA and IDATA is limited to 256 bytes, if the on-chip RAM of your 8051 derivative is more than 256 bytes some of that RAM is most likely accessed as XDATA. Review your device data sheet carefully.
See Also

XDATA

Example
BL51 MYPROG.OBJ RAMSIZE(256)
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.