C code is C code. The same C code will work in Keil or CCS with no modifications. The only issue is with inline assembly. Each IDE has its own syntax for handling inline assembly. Below is an example of how to write inline assembly for Keil and CCS. KEIL                                                                             CCS