??? 03/22/04 18:36 Read: times |
#67207 - RE: Begin at the beginning! Responding to: ???'s previous message |
alez bragaz said:
the solution would be fine if we always put pdata at the first page of ram. but the book says pdata page can be allocated anywhere in the 64k xram. and if i tell the the compiler my pdata start base, and the compiler knows that it's only 256 bytes, doesn't mean it will allocate the whole page for pdata type. just like data and idata, they share one memory class. You're catching on now. I personally never explicitly define anything as pdata and when I need to use any MOVX @Rn addressing, I do so using other means that allows me to address any 256-byte page, not just the page that would have been allocated to pdata. |
Topic | Author | Date |
keil pdata | 01/01/70 00:00 | |
Begin at the beginning! | 01/01/70 00:00 | |
RE: Begin at the beginning! | 01/01/70 00:00 | |
RE: Begin at the beginning! | 01/01/70 00:00 | |
RE: Begin at the beginning! | 01/01/70 00:00 | |
RE: Begin at the beginning! | 01/01/70 00:00 | |
RE: Begin at the beginning! | 01/01/70 00:00 | |
RE: Begin at the beginning!![]() | 01/01/70 00:00 | |
RE: keil pdata | 01/01/70 00:00 | |
RE: keil pdata | 01/01/70 00:00 | |
RE: keil pdata | 01/01/70 00:00 | |
RE: keil pdata | 01/01/70 00:00 |