Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Whats the difference between .PAGE0 and .DATA when defining variable in data memory?

Data defining memory
0
Posted

Whats the difference between .PAGE0 and .DATA when defining variable in data memory?

0

.PAGE0 is used to define a variable in page0; and .DATA for the non page0 ones. In SPMC65x devices, PAGE0 ranges $0000~$00FF which includes hardware control registers memory and part of user-defined RAM. Other RAM space is provided for DATA segment. The access to page0 is faster than to DATA segment; bit operation instruction can only read and write data in page0.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123