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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Kai Klaas
02/16/18 05:56
Read: 331 times
Germany


 
#190846 - In the good old days...
Responding to: James Hinnant'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      Razman Ramedan      11/21/17 23:32      
   Fractional Arithmetic      Michael Karas      11/22/17 03:34      
      agree      Erik Malund      11/22/17 08:29      
   Why Assembler?      Andy Neil      12/05/17 01:49      
      Hard to do better.      Michael Karas      01/25/18 21:36      
         Assembly vs. Keil      James Hinnant      02/14/18 17:43      
            assembly vs C      Erik Malund      02/15/18 08:18      
               Re: assembly vs C      James Hinnant      02/15/18 15:15      
                  In the good old days...      Kai Klaas      02/16/18 05:56      
                     in the new days      Erik Malund      02/17/18 08:52      
   Hi Razman, here are some links      James Hinnant      02/15/18 15:41      
      Code samples      James Hinnant      02/15/18 15:55      
         Oops - 8052.com code library is broken      James Hinnant      02/17/18 15:43      
      A bit late      Andy Neil      02/19/18 16:13      
         threads autolocking at approx. 2 months      James Hinnant      02/20/18 16:49      
            threads autolocking      Andy Neil      02/21/18 03:15      

Back to Subject List