??? 05/16/05 08:24 Read: times |
#93476 - SDCC Responding to: ???'s previous message |
If you want to write to a specific location in memory, say external memory, In SDCC you would declare it like this:
XDATA at 0xA0 char ExtMem[250]; XDATA at 0xA0 char *PtrExtMem; or IDATA at 0x4b char IntMem[100]; //upper 128 IDATA at 0X4b char *PtrIntMm; check your compile for info on how to do this. |
Topic | Author | Date |
Writing into Data memory of 8051 in C | 01/01/70 00:00 | |
Writing into Data memory of 8051 in C | 01/01/70 00:00 | |
Writing into Data memory of 8051 in C | 01/01/70 00:00 | |
Writing into Data memory of 8051 in C | 01/01/70 00:00 | |
its very clever | 01/01/70 00:00 | |
SDCC | 01/01/70 00:00 | |
writing a value in data memory 8051 | 01/01/70 00:00 | |
8051 harvard arch. then how its possible | 01/01/70 00:00 | |
C, memory, and address spaces | 01/01/70 00:00 | |
its even simpler![]() | 01/01/70 00:00 |