Can I access XC8 C pointers from assembly code?
Pointer variables defined in MPLAB® XC8 C code can be used in assembly code, but care needs to be taken with the type of the pointer and its size. Pointer variables defined in C code will have a size and format which is determined by the compiler after analyzing the entire C project. This pointer size and format can change from one build to another as the C program is developed. This would make it very difficult to access C pointers from assembly code as the size and format are not fixed.
For example: