Hello
Basically once you have created your ANSI C project, you have 3 choices:
1- Implement the rest of the application in macro assembler.
2- Implement the rest of the application in C using inline adssembler
3- Implement your application in ANSI C.
If you decide to go with 1, just add your assembly source file to the application. In that case I would remove the file main.c from eth project and define an exported label called _main somewhere in my assembly source file.
The standard startup code is calling that function as to start theapplication.
Alternatively you can decide to use your own entyr point for the application and get rid of the default startup code. In that case just specify your entry point in the ColdFire Linker.
For more information on macro assembler language, please refer to following manual.
{Install}\Help\PDF\CF_Assem_Ref.pdf.
If you decide to go with 2, I would recommend you to look at the manual
{Install}\Help\PDF\ColdFire_Build_Tools_Reference.pdf
Chapter "Inline Assembly" around page 187 explains the inline assembly syntax.
If you decide to go with 3, when you create a project from a stationery, we are providing header files, containing register definition.
So to access a register directly through it names :smileyhappy:
Finally if you want to use the Core MAC instructionsm you have to encode it in inlune assembler.
ANSI C will not use these instructions at all (as far as I know).
I hope this helps a bit

CrasyCat