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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/16/18 12:56
Read: times


 
#190846 - In the good old days...
Responding to: ???'s previous message
Many years ago I wrote all my '51 codes in assembler. Not because I wanted so, but because the projects were mixed analog digital and timing critical. I had to put the microcontroller into sleep mode during AD conversions and such things and found it a lot simpler to code it directly in assembler. It was fun and didn't take much time. Of course, you needed exactly to know what the registers, the stack and the interrupts do. But it was no problem. I wrote and tested my code piecewise and put everything together at the end. The code was allways running properly.

Some months ago I was involved in an development where a software guy was writing the code. It was a simple project but the software guy has got his hands full with endless C listings. He was endlessly hacking into his keyboard and starring onto his two big monitors. But somehow he had no time for thinking. Of course, the code didn't work and at the end he spent several days with debugging. It was funny, because at the beginning of the project the software guy made jokes about me and my antiquated assembler coding.

I'm a fan of the KISS principle. And this can mean to code in assembler, even today.

Kai



List of 16 messages in thread
TopicAuthorDate
Arithmetic operation with signed number & fractional number            01/01/70 00:00      
   Fractional Arithmetic            01/01/70 00:00      
      agree            01/01/70 00:00      
   Why Assembler?            01/01/70 00:00      
      Hard to do better.            01/01/70 00:00      
         Assembly vs. Keil            01/01/70 00:00      
            assembly vs C            01/01/70 00:00      
               Re: assembly vs C            01/01/70 00:00      
                  In the good old days...            01/01/70 00:00      
                     in the new days            01/01/70 00:00      
   Hi Razman, here are some links            01/01/70 00:00      
      Code samples            01/01/70 00:00      
         Oops - 8052.com code library is broken            01/01/70 00:00      
      A bit late            01/01/70 00:00      
         threads autolocking at approx. 2 months            01/01/70 00:00      
            threads autolocking            01/01/70 00:00      

Back to Subject List