??? 10/14/06 14:21 Modified: 10/14/06 14:21 Read: times |
#126462 - On C memory means variables Responding to: ???'s previous message |
On C simple declare an array and initialize it with the table values, thats all.
As Andy pointed out, all constant variables should get the attribute "code" to use flash and avoid wasting of SRAM. Accessing Flash may also be faster in some cases, because the 8051 can access it with displacement (MOVC A,@A+DPTR). Peter |
Topic | Author | Date |
writing to data memory in c | 01/01/70 00:00 | |
Compiler-Specific | 01/01/70 00:00 | |
Why in data memory? | 01/01/70 00:00 | |
Assembler | 01/01/70 00:00 | |
On C memory means variables | 01/01/70 00:00 | |
writing to data memory in c | 01/01/70 00:00 | |
which memory u want to access | 01/01/70 00:00 | |
pls, explain..![]() | 01/01/70 00:00 |