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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/24/09 00:46
Read: times


 
#165565 - Not that it applies to THIS case ... but ...
Responding to: ???'s previous message
How would it work to produce small modules of compiled code written in 'C' using, say, KEIL, to produce relocatable modules that can later be linked and loaded together with other modules that are written in ASM?

It seems to me that, while unconventional, it should work.

Could that be done using Keil to produce the relocatable objects and subsequently link them?

I do occasionally run into tasks that are not time-critical, nor particularly size-critical, but which are remarkably easier to understand in 'C' than in ASM. From a documentation standpoint, these would be better written in 'C', though much of the remaining code, because it interacts with hardware features, etc, is best done in ASM.

RE


List of 10 messages in thread
TopicAuthorDate
MSC1210 FlashCode Memory write problems            01/01/70 00:00      
   watchdog, interrupts?            01/01/70 00:00      
      MSC1210 FlashCode Memory write problems            01/01/70 00:00      
   I do not know your chip, but            01/01/70 00:00      
      Over optimisation.            01/01/70 00:00      
         case for asm            01/01/70 00:00      
            asm in Keil is not accepted very well            01/01/70 00:00      
               to asm or not to asm            01/01/70 00:00      
                  Horses for courses.            01/01/70 00:00      
                  Not that it applies to THIS case ... but ...            01/01/70 00:00      

Back to Subject List