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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/16/09 08:39
Read: times


 
#166121 - Manually handle a few large variables?
Responding to: ???'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            01/01/70 00:00      
   Manually handle a few large variables?            01/01/70 00:00      
      Code and XDatabanking            01/01/70 00:00      
         You missed the point!            01/01/70 00:00      
   Do you *have* to use an 8051?            01/01/70 00:00      
      Code and XDatabanking            01/01/70 00:00      
         Fair enough, then!            01/01/70 00:00      
         no banking            01/01/70 00:00      
            Cross reference            01/01/70 00:00      
               Verbiage            01/01/70 00:00      
   P3_3 commonly for ROM and RAM to switch banks?            01/01/70 00:00      
      that will not work            01/01/70 00:00      
         Interference            01/01/70 00:00      

Back to Subject List