Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/17/02 14:10
Read: times


 
#34592 - RE: large tables and Flash in 89c51
Yes - in fact, this is the way you should do it!

Think about it: if you have a table of constants in RAM, how are those constant values going to get into the RAM when you switch your system on? Of course, the compiler has to supply code to load the values into your RAM table, so it will have to store the values in the Code space (eg, Flash) anyway!

By defining the table in Code space in the first place, you save having to do the copying!

In assembler, you'd be using MOVC.

List of 4 messages in thread
TopicAuthorDate
large tables and Flash in 89c51            01/01/70 00:00      
RE: large tables and Flash in 89c51            01/01/70 00:00      
RE: large tables and Flash in 89c51            01/01/70 00:00      
RE: large tables and Flash in 89c51            01/01/70 00:00      

Back to Subject List