Dan White

Need help with GPAGE on S12X

Discussion created by Dan White on Nov 2, 2006
Latest reply on Nov 6, 2006 by Steve Mcaslan
I have read AN2734.pdf and S12XCPUV1.pdf and expermented some in the simulator and I still don't get it. Can someone please explain how PPAGE, GPAGE, far pointers and __pptr pointers relate?
 
I'm trying to point to the beginning of the flash page FE. If I typecast the 32bit integer 7F8000 to a far pointer it points to a different location than if I cast it to a __pptr pointer. I think the far pointer is "right" but where is the __pptr pointing to????
 
Somebody help me please!
 
 

Outcomes