| ??? 12/16/02 15:06 Read: times |
#34541 - RE: SDDC: Code var must have initialiser |
If you want to read bytes from you code space try this:
(Keil syntax:) unsigned char code *fred=(unsigned char code *)0; Then you can read data from code space using array indexing: unsigned char byte1,byte2; byte1=fred[0]; byte2=fred[1]; //etc If you want to make it unnecessarily confusing you could use pointer arithmetic instead. |
| Topic | Author | Date |
| SDDC: Code var must have initialiser | 01/01/70 00:00 | |
| RE: SDDC: Code var must have initialiser | 01/01/70 00:00 | |
| RE: SDDC: Code var must have initialiser | 01/01/70 00:00 | |
| RE: SDDC: Code var must have initialiser | 01/01/70 00:00 | |
| RE: SDDC: Code var..., Donald | 01/01/70 00:00 | |
| RE: SDDC: Code var..., Donald 2 | 01/01/70 00:00 | |
RE: SDDC: Code var..., Donald 2 | 01/01/70 00:00 |



