|
||||||||||||||||||||||||||||||||||||||||||||
Technical Support On-Line Manuals Cx51 User's Guide ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Generic and Far PointersGeneric pointers have no declared explicit memory type. They may point to any memory area on the 8051. They are stored using three bytes (24 bits). The first byte contains a value that indicates the memory area or memory type. The remaining two bytes contain the address offset with the high-order byte first.
Depending on the compiler version, the memory type byte has the following values:
The NXP 80C51MX architecture supports new MCU instructions that operate on a universal pointer. Universal pointers are identical with C51 generic pointers. Values not specified in the table above access far memory. Generic pointers and far pointers have the same format. Generic Pointer ExampleThe following example shows the memory storage of a generic pointer (on the C51 compiler) that references address 0x1234 in the xdata memory area.
| |||||||||||||||||||||||||||||||||||||||||||
|
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.