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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/15/12 07:52
Read: times


 
#185974 - RE: A couple of things ...
Responding to: ???'s previous message
Richard Erlacher said:
Secondly, the ratio varies as the code size. If a guy is writing code that has to fit into 2kB, as in a "small" MCU, then he might be better off writing it in ASM because it's pretty easy to manage

Yes, I'd agree with you there.

'C' does have certain minimum "overhead" for its runtime support - so, the smaller the overall code size, the more significant that is going to be in percentage terms. The larger the code gets, the less significant this "overhead" becomes.

A prime example of this is writing a "simple" (sic) "Hello, World" application using printf(). The overhead of including printf() is large, so it really makes such a trivial program look bloated. But the overhead remains the same if you use printf() dozens or hundreds of times; so, in a large program, it can become insignificant - in fact, doing the output "manually" each time could end up taking more code!

I doubt Andy ... would have easily succeeded plowing up new ground with HLL if they hadn't already possessed a firm knowledge of the 805x core

Actually, I started in 'C' on the 8051 with no prior knowledge of the core at all! But I did have plenty of prior experience with other cores...



List of 61 messages in thread
TopicAuthorDate
Which modern small 8051 should I use?            01/01/70 00:00      
   addition            01/01/70 00:00      
      contradicting yourself.            01/01/70 00:00      
      Get on with SiLabs            01/01/70 00:00      
         Thanks for all of your input!            01/01/70 00:00      
            power miser            01/01/70 00:00      
               Re: Power Miser            01/01/70 00:00      
            Still Need the SiLabs Adapter            01/01/70 00:00      
      Why?            01/01/70 00:00      
   RE: 8-bit 8051            01/01/70 00:00      
      SiLabs is sometimes a bit slow ...            01/01/70 00:00      
         RE: "slow"?            01/01/70 00:00      
            Well ... It might have been coincidental ...            01/01/70 00:00      
   AT89S2051/4051 or ATLP2052/4052            01/01/70 00:00      
      and lose all the goodies            01/01/70 00:00      
         Onewire debug?            01/01/70 00:00      
            tradeoffs            01/01/70 00:00      
               Is a hobbyist not extremely likely to gain            01/01/70 00:00      
                  JTAG            01/01/70 00:00      
                     cost to debug            01/01/70 00:00      
                        cost of AVR debugging "dongle"            01/01/70 00:00      
                  You have to ask yourself ...            01/01/70 00:00      
                     Beginners have even more reason for debug cells, i.e. ICE            01/01/70 00:00      
                     WHAT, exactly, is a hobbyist likely to gain from built-in de            01/01/70 00:00      
                        I still think it 6 one way and half-a-dozen the other            01/01/70 00:00      
                           why go old fashioned            01/01/70 00:00      
                              Where you sit determines what you see.            01/01/70 00:00      
                     exactly this            01/01/70 00:00      
                        Those are all things the monitor allows            01/01/70 00:00      
                           please explain how the monitor allows ...            01/01/70 00:00      
                              Monitors really not good choice for new designs/developers            01/01/70 00:00      
                                 Describing Richards preferences            01/01/70 00:00      
                              It doesn't help with 'C' code at all            01/01/70 00:00      
                                 maybe not using that word            01/01/70 00:00      
                     "Small" 8051            01/01/70 00:00      
                        RE: "Small" 8051            01/01/70 00:00      
                        Productivity/quality really important for hobbyists too            01/01/70 00:00      
                        the calculation            01/01/70 00:00      
                           True cost comes in maintainance            01/01/70 00:00      
                              I totally agree, however            01/01/70 00:00      
                           Ratio?            01/01/70 00:00      
                              all numbers are arbitrary            01/01/70 00:00      
                                 but it's good to be ...            01/01/70 00:00      
                                    Not needed            01/01/70 00:00      
                              A couple of things ...            01/01/70 00:00      
                                 RE: A couple of things ...            01/01/70 00:00      
                                 neither does a SILabs toolstick            01/01/70 00:00      
                                    Starting out, the old-reliable antiques are very easy            01/01/70 00:00      
                                       Wrong conceptual level for majority of needs            01/01/70 00:00      
                                       only somewhat true            01/01/70 00:00      
                        First, Define Icc and Code Size Targets            01/01/70 00:00      
                           It's more complicated than that            01/01/70 00:00      
                           that is not enough            01/01/70 00:00      
                              that is not enough            01/01/70 00:00      
                                 which was what I posted            01/01/70 00:00      
                                    ROFL            01/01/70 00:00      
                                    Not a simple formula!            01/01/70 00:00      
                  power            01/01/70 00:00      
                     OCD != Emulation            01/01/70 00:00      
               the particular hobbyist in question            01/01/70 00:00      
                  It does allow him to maintain separation from the hardware            01/01/70 00:00      

Back to Subject List