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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/24/07 07:14
Read: times


 
#146120 - C startup
Responding to: ???'s previous message
It's the standard name for the standard startup code used by Keil C51.

All other 'C' compilers will have a similar requirement, which may or may not go exactly by the name "startup.a51"

Richard Erlacher said:
and why would you use it if it impacts your hardware?

It is what configures the 'C' runtime environment to match your hardware - clearly, if you just use the compiler vendord default, straight out of the box, without any consideration, then it almost certainly will impact your hardware!
eg, its default action might include setting all of XDATA to zero...

That's why it needs to be customised to match your hardware.

List of 27 messages in thread
TopicAuthorDate
I\'m debating this 8052 circuit...            01/01/70 00:00      
   Do you understand why that was done?            01/01/70 00:00      
      I understand, but my debate is not solved.            01/01/70 00:00      
         Avoid the situation!            01/01/70 00:00      
         It should be ...            01/01/70 00:00      
            ...            01/01/70 00:00      
               startup.a51 will do just that unless modified            01/01/70 00:00      
                  What's a "startup.a51"            01/01/70 00:00      
                     C startup            01/01/70 00:00      
                        and if I use my own code...            01/01/70 00:00      
                           If you're smart enough to do that ...            01/01/70 00:00      
                              MMIO            01/01/70 00:00      
                                 yes, at osc/12 it's 1 MHz ... but ...            01/01/70 00:00      
                              ...            01/01/70 00:00      
                                 that's crazy            01/01/70 00:00      
                           Why worry?            01/01/70 00:00      
                              polls?            01/01/70 00:00      
                                 If you want it to be high-speed, you won't use LCD            01/01/70 00:00      
                                 experiment with the obvious            01/01/70 00:00      
                                 Complexity            01/01/70 00:00      
                                    I think!            01/01/70 00:00      
                                       If only that were true ... ...            01/01/70 00:00      
                                       Think?            01/01/70 00:00      
                                          ok            01/01/70 00:00      
                                             Not a matter of guessing..            01/01/70 00:00      
                                                careful now!            01/01/70 00:00      
                     ASM            01/01/70 00:00      

Back to Subject List