Whats the difference between .PAGE0 and .DATA when defining variable in data memory?
.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.