| ??? 01/11/05 20:14 Read: times |
#84788 - manual! Responding to: ???'s previous message |
As the others have already said, unsigned char code mid [] = "Box";does put the string in ROM! Now read the page about _at_ in the Manual - it tells you clearly and explicitly that you cannot use an initialiser with _at_ Anyway, IMO, _at_ has no place in 'C' - assigning addresses is the Linker's Job! See: http://www.keil.com/discuss/docs/thread5491.htm |
| Topic | Author | Date |
| Locating a String in ROM | 01/01/70 00:00 | |
| you did | 01/01/70 00:00 | |
| Hmm | 01/01/70 00:00 | |
| manual! | 01/01/70 00:00 | |
| Assigning adresses | 01/01/70 00:00 | |
Not what I meant! | 01/01/70 00:00 | |
| OK! | 01/01/70 00:00 | |
| Strings in ROM | 01/01/70 00:00 | |
| const | 01/01/70 00:00 |



