Hello guys,
I am using a variable mapped to banked RAM: char MyArray[5]
Now I am trying to create a pointer to this variable: char * __rptr localArrPtr = MyArray
Is this the right way ?
What is the difference between a __far pointer and a __rptr pointer ?
How do I call a function with that pointer ?
void editArray ( char index, char * __rptr ArrPtr)
Thanks for your help
Philipp
Solved! Go to Solution.
Hello
Attached application note from the {Install}\Help\PDF directory provides more details for the various type of pointers.
Basically rptr pointer are accessed using RPAGE register, whereas far pointer are accessed using GPAGE register.
CrasyCat
Hello
Attached application note from the {Install}\Help\PDF directory provides more details for the various type of pointers.
Basically rptr pointer are accessed using RPAGE register, whereas far pointer are accessed using GPAGE register.
CrasyCat