Keil Logo

Data Objects

Data objects are the variables and constants you declare in your C programs. The Cx51 Compiler generates a separate segment for each memory type for which a variable is declared. The following table lists the segment names generated for different variable data objects.

Segment Name Description
?BA?module_name Bit-addressable data objects
?BI?module_name Bit objects
?CO?module_name Constants (strings and initialized variables)
?DT?module_name Objects declared in data
?FC?module_name Objects declared in const far (requires OMF2 directive)
?FD?module_name Objects declared in far (requires OMF2 directive)
?ID?module_name Objects declared in idata
?PD?module_name Objects declared in pdata
?XC?module_name Objects declared in const xdata (requires OMF2 directive)
?XD?module_name Objects declared in xdata

Related Knowledgebase Articles

  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.