We use a 8051-compatible MCU. It has seperate up to 8M program memory and 8M data memory spaces. The program memory is organized using code bank, the common part is 32K,and code bank is 0x8000~0xffff。 The data memory space is organized in the same way. In other words, the memory spaces are both organized into 256 32K-bytes banks?
How to make the CX51 recoginze the whole spaces?
MOV R1,#LOW (variable) ; gives LSB address byte of variable MOV R2,#HIGH (variable) ; gives MSB address byte of variable MOV R3,#MBYTE (variable) ; gives memory type byte of variable CALL ?C?CLDXPTR ; load BYTE variable into A
What does the MBYTE mean ? What does the R3 contain?
Thanks!