when building the project an error is issued, what is the reason?
I don't think this post is at right place in License box.
I will move it.
Following the info I found it seems you're using CW for MCU V10.5 for MPC564x device.
You want to use the nofralloc instruction.
In the MCU_Power-Architecture_Compiler.pdf manual, page 346 I found the info:
Specifies that the function will build a stack frame explicitly.
Use the nofralloc directive so that an inline assembly function does not build a stack
frame. When you use nofralloc , if you have local variables, parameters or make function
calls, you are responsible for creating and deleting your own stack frame. For an example
of nofralloc , see the file __start.c in the directory:
where InstallDir is the name of the directory on your host computer where you installed
your CodeWarrior development tools.
The path provided is not correct.
Please have a look to \CW MCU v10.5\MCU\PA_Support\ewl\EWL_Runtime\Runtime_PA\Source folder.
the __start.c will included the following:
asm void __start(register int argc, register char **argv, register char **envp)
nofralloc /* MWERKS: explicitly no stack */
/* frame allocation */
mr r14, argc
Hope this will help you.
Retrieving data ...