??? 05/19/07 06:31 Modified: 05/19/07 06:32 Read: times |
#139507 - You\'re assuming... Responding to: ???'s previous message |
Richard Erlacher said:
If it's not in code space, it will be volatile. No, that's not necessarily true. You're assuming that XDATA is always and only non-volatile - but there's no reason why you can't have ROM (or part of a ROM) addressed in XDATA space. An empty or uninitialized table won't be of much use. But some tables require runtime initialisation; eg, if it's some sort of self-calibration... In practice, though, I agree that most tables are fixed with the code, so CODE space is the obvious place for them. |