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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/09/08 21:18
Read: times


 
Msg Score: 0
 +1 Good Answer/Helpful
 -1 Overrated
#160803 - Human brain
Responding to: ???'s previous message
Just to keep us all grounded, I'd point out that this is 8052.COM and not a site devoted to large processors.

I am well grounded, even if no soldering or measuring is in progress. People still constantly fail to produce decent assembler code. The 8052 has one of the easiest instruction sets available, and people still fail. And I don't think "most 8-bit processors" should be dismissed as "large processors".

Is that what concerns us on 8052.com?

You may be a single processor guy, by preference or requirement. But your argument is a weak way of avoiding my argument. I don't think anyone thought about one-clockers (for any processor size) when the first 8052 chips were released. And who knows what will happen in the next 10 years. The most important limiting factor here is probably that technologies that results in large variations in execution times depending on code and/or data locations or execution history makes it harder to exactly compute short delays - one of the reasons for using a microcontroller in the first place.

[...] but ... Better???

One question that can never be fully answered, since "better" is a relative word and to make a relative comparison, a set of reference points must be documented and agreed upon. Peoples arguments may be perfectly valid, even if they are not "100% you". Enjoy the debate, instead of spending too much time defending assembler. There is no need of a defender. Assembler has existed since just after the invention of processors, and will continue to live on for many years to come. But in the end, it is just one tool. And the strengths of assembler may sometimes loose out to other strengths of other tools. It is up to each project - or the customer - to decide on "better" or "wanted" or "required" or "appreciated" or ...

All this doesn't change the fact that, if you want to write code that's both small and fast, ASM is the only way to ensure that you do that.

Wrong! Being smart, experienced and well-educated is the only way.

The main factor is still the human brain.

It doesn't matter how well you code in assembler if you choose the wrong algorithm. Or if you do a lousy implementation. This goes for any processor (and any high-level language too).

So if your goal is to get people to write small and fast programs, your main argument should be: Be smart. Be well-educated. Get experience. Be inventive.

I think people can be lousy assembly programmers but still great at developing embedded systems. But I think that they have to understand assembly and exactly what makes the used processor tick. Being great at designing and implementing in assembly is an extra bonus.

List of 50 messages in thread
TopicAuthorDate
Which programming language is the best?            01/01/70 00:00      
   depends on compiler            01/01/70 00:00      
   Who is "we"            01/01/70 00:00      
   Creativity            01/01/70 00:00      
      Responding to Andy Neil "Who is we?"            01/01/70 00:00      
         apples and oranges            01/01/70 00:00      
            Re: apples and oranges            01/01/70 00:00      
               Correct            01/01/70 00:00      
               Calling conv more depending on target than language            01/01/70 00:00      
                  Re: Calling conv...            01/01/70 00:00      
         not the rule            01/01/70 00:00      
   Do you think Spanish is better than Mandarin?            01/01/70 00:00      
      Concise?            01/01/70 00:00      
         fair question            01/01/70 00:00      
            Maybe            01/01/70 00:00      
               There is no question about it!            01/01/70 00:00      
                  Does it work ?            01/01/70 00:00      
                     Unless it impacts cost ...            01/01/70 00:00      
                  Bottom line            01/01/70 00:00      
                     ... and that is the problem with many products ...            01/01/70 00:00      
                        Not true            01/01/70 00:00      
                           low-volume/high-volume tradeoffs            01/01/70 00:00      
                        Bottom line price is more than just consumed kB code space            01/01/70 00:00      
            Oh no, not that old chestnut            01/01/70 00:00      
               Assembler and processor size            01/01/70 00:00      
                  Is that relevant to this environment?            01/01/70 00:00      
                     Human brain            01/01/70 00:00      
               You will have trouble convincing me ...            01/01/70 00:00      
                  I agree with you there!            01/01/70 00:00      
      Re: Spanish better than...            01/01/70 00:00      
         That's the point!            01/01/70 00:00      
         not so            01/01/70 00:00      
   In a war which is the best weapon ?            01/01/70 00:00      
      the language in which programmer feels comfortable            01/01/70 00:00      
         Comfort is not the issue!            01/01/70 00:00      
            true, but            01/01/70 00:00      
         It's about the right tool(s) for the job            01/01/70 00:00      
   My two cents            01/01/70 00:00      
      If it fits ...            01/01/70 00:00      
         that is (ir)relevant            01/01/70 00:00      
            What is small?            01/01/70 00:00      
               Would that be appropriate on 805x?            01/01/70 00:00      
                  more on big/small series            01/01/70 00:00      
                     Does this approach fit 805x and other small MCU?            01/01/70 00:00      
                        Already have full Linux solutions too            01/01/70 00:00      
   Yes..C and asm is the best            01/01/70 00:00      
   I prefer KEIL U2V , C programming language.            01/01/70 00:00      
      Magic with Kel C?            01/01/70 00:00      
      Makes no sense!            01/01/70 00:00      
   Pascal is not dead            01/01/70 00:00      

Back to Subject List