??? 02/09/06 16:44 Read: times Msg Score: +1 +1 Good Answer/Helpful |
#109620 - Demo only Responding to: ???'s previous message |
Billy Fairhurst said:
In this example they do the following observation:
"The example program writes stuff into memory ONLY for demonstration purposes. You should not use this method of writing into memory in structured, high-level programming languages." QUESTION: if thisway of writing works, whats wrong with using it? Here's the link: http://www.keil.com/download/docs/187.asp?bhcp=1 The example demostrates the fact that you can write to all the 8051's memory areas from C51. What they're saying is that in structured, high-level programming you wouldn't go writing direct to hard-coded addresses - you would use named variables instead. |
Topic | Author | Date |
storing serial data in memory | 01/01/70 00:00 | |
after 100.000 writes it dies | 01/01/70 00:00 | |
if internal memory is the problem | 01/01/70 00:00 | |
Battery backed NVRAM from Dallas | 01/01/70 00:00 | |
he seems not to need permanent storage | 01/01/70 00:00 | |
not permanent storage | 01/01/70 00:00 | |
if the problem is pin shortage | 01/01/70 00:00 | |
PCR8750 | 01/01/70 00:00 | |
Keil example-- writing to 8051 mem---- | 01/01/70 00:00 | |
nope | 01/01/70 00:00 | |
Not quite... | 01/01/70 00:00 | |
memcpy() | 01/01/70 00:00 | |
yes, ANSI, but not really '51 | 01/01/70 00:00 | |
Rubbish! | 01/01/70 00:00 | |
Rubbish? I said "on the edge" | 01/01/70 00:00 | |
Not quite... | 01/01/70 00:00 | |
Very clever | 01/01/70 00:00 | |
indeed, if you have the time | 01/01/70 00:00 | |
Do you know that? | 01/01/70 00:00 | |
there is a large advantage when reading | 01/01/70 00:00 | |
1 - 4 byte types supported | 01/01/70 00:00 | |
example link | 01/01/70 00:00 | |
Demo only | 01/01/70 00:00 | |
Grrr | 01/01/70 00:00 | |
i think this got a bit off track![]() | 01/01/70 00:00 |