We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi, I have read through the documentation and searched the knowledge base, yet I cannot figure out why my _at_ statement is not working!! My problem is that I need to locate a block of data at a specific location. I have the tried the following:
BYTE xdata PTMEM[100] _AT_ 0x2000; unsigned char xdata PTMEM [100] _AT_ 0x2000; xdata char PTMEM [100] _AT_ 0x2000;
Hi Mark, No, that is one alternative I didn't try! HAHA! I knew it was something easy. Thanks a lot. BTW, I got it to work by declaring the array in another file.
//PTMEM.C BYTE xdata PTMEM [100]; //MYPROG.C extern BYTE xdata PTMEM[100]; //XDATA options ?XD?PTMEM(0x2000)