This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Using Generic Pointers

I need to use generic pointers so I can access XDATA and CODE memory with my message handler.

How do I know what the memory type is at runtime? Is there a function or macro for this? I know the memory type is in byte 0 of the pointer.... how do I go about accessing byte 0.

0