I am interfacing my 89c669 uc to a 4MB data flash. When i am incrementing my flash address it generates actually INCR DPTR instruction. I wanted a INCR EPTR to be generated i.e the far memory address inmcrement. How can i achieve this. I am already using far memory pointers. STill its not happening. Is there some special settings for keil compiler
We do not use the EPTR since this register is hard to address. Instead the Keil C Compiler uses just the PRx registers. For linear memory addressing see: http://www.keil.com/support/docs/2800.htm