AnsweredAssumed Answered

CW 5.7.0 - MC9S08GB60. Is the C code relocatable?

Question asked by Ake Jacks??n on Mar 23, 2007
Latest reply on Mar 26, 2007 by Ake Jacks??n
I using MC9S08GB60 and Code Warrior version 5.7.0.
 
I wonder if the compiler/linker generate relocatable code, when I compile/link C code. If not how do I tell the compiler/linker that I like to have a function  relocatable? I need copy an execute this function from RAM.
 
Or is it only assembler that is possible to make relocatable?  
 
Is there any example how to create I2C module that is not depending on interrupt but only polling?
 
 
--
Message Edited by ajn on 2007-03-2309:09 AM
--
Alban Edit: moved thread from 8-bit (it is CW specific) + add CW version in title

Message Edited by Alban on 2007-03-23 12:46 PM

Outcomes