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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/28/06 02:37
Read: times


 
#121229 - Opening pandora's box
Responding to: ???'s previous message

I'm happy that my comments spawned some healthy discussion. I think I should have qualified my statement regarding 'c' a little more! Given the job of port a large asm project vs a large 'c' project, I dare say most of us would groan heavily if it were asm! However, we seem to agree that a well written 'c' project is easier to port.

I think my experiences seem to be similar to Peter's - change the hardware dependant stuff and a bit of search and replace and most of the work is done. Similarly, most of my stuff has been 8051 and AVR where the peripherals are similar in concept and operation so moving across is little more than changing the names and the method of bit access. I've had some fun of late moving to the LPC21xx series where the peripherals are quite different and not completely documented in many cases. On the other hand we have Jan's case where the compiler implementation brought up some undesired effects. All this is good stuff to consider when writing code, especially for beginners. I think this is one of the few subjects where it has been highly focussed and each submission is gold.

Andy - I rapped myself over the knuckles (no flagellation though) for my poor use of English. Not double plus good!


List of 26 messages in thread
TopicAuthorDate
How long we see 8051            01/01/70 00:00      
   unofficial history of 8051            01/01/70 00:00      
      History, or prediction?            01/01/70 00:00      
         It seems to gain, not lose            01/01/70 00:00      
   Does it matter?            01/01/70 00:00      
      Double negative?            01/01/70 00:00      
      to C or not to C            01/01/70 00:00      
         Defintely 'C'!            01/01/70 00:00      
            yeah, let's flame!            01/01/70 00:00      
          Defintely 'C'!            01/01/70 00:00      
            arguments            01/01/70 00:00      
               An example for 8051/AVR            01/01/70 00:00      
                  contra-example for 8051/AVR            01/01/70 00:00      
                  A slight mistake            01/01/70 00:00      
                     stdint.h            01/01/70 00:00      
               That's your trouble, then!            01/01/70 00:00      
                  Compiler independant            01/01/70 00:00      
                  C is not better            01/01/70 00:00      
                  bringing 2 togethert            01/01/70 00:00      
                  Opening pandora's box            01/01/70 00:00      
               Learning C            01/01/70 00:00      
                  for a beginner ...            01/01/70 00:00      
            are You sure?            01/01/70 00:00      
            Portability and scars            01/01/70 00:00      
   I'm an ASM Guru but            01/01/70 00:00      
      why discuss the rare exception tha same apply            01/01/70 00:00      

Back to Subject List