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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Per Westermark
06/16/09 03:39
Read: 259 times
Sweden


 
#166121 - Manually handle a few large variables?
Responding to: Sandeep Gupta's previous message
Is all your XDATA random small variables, or do you have a few very large structures? In that case, you may consider manually banking them, by writing accessor functions for this data, i.e. get_records(n,&rec) and set_record(n,&rec). This could allow 99% of all variables be non-banked, reducing the code size and speed penalty. Just remember that such an approach requires all variables touched by interrupt handlers to be non-bankend.

Another thing is of course to before starting a project consider exactly what your needs are, and from the start select a processor baseed on these needs.

List of 13 messages in thread
TopicAuthorDate
Code and XDatabanking      Sandeep Gupta      06/16/09 02:55      
   Manually handle a few large variables?      Per Westermark      06/16/09 03:39      
      Code and XDatabanking      Sandeep Gupta      06/19/09 01:54      
         You missed the point!      Andy Neil      06/19/09 06:16      
   Do you *have* to use an 8051?      Andy Neil      06/19/09 02:07      
      Code and XDatabanking      Sandeep Gupta      06/19/09 05:35      
         Fair enough, then!      Andy Neil      06/19/09 06:10      
         no banking      Erik Malund      06/19/09 08:33      
            Cross reference      Andy Neil      06/19/09 08:49      
               Verbiage      Erik Malund      06/19/09 09:48      
   P3_3 commonly for ROM and RAM to switch banks?      Frieder Ferlemann      06/19/09 14:09      
      that will not work      Erik Malund      06/19/09 14:44      
         Interference      Per Westermark      06/19/09 15:05      

Back to Subject List