MCU unsigned char code/unsigned char idata variable

Source: Internet
Author: User

From:

Http://hi.baidu.com/%CC%EC%CC%ECiloveyou/blog/item/89605380c8a4ffd49123d9db.html

 

Reading others'ProgramHas such a statement

Unsigned char data variable name. Why does one more data keyword exist?

I checked the help document. PDF, found the answer on page91:

Keyword: data, Code, defines the memory space for variable storage.

Appendix:

The storage type in C51

Code: program storage area (64 KB ),

Data: directly addressable internal data storage zone (B)

Idata: inner data storage area (256b) that cannot be directly addressable)

Bdata: addressable internal data storage zone (16 B)

Xdata: external data storage zone (64 KB)

Pdata: External paging Data Storage Area

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.