zhang ju

Where is error

Discussion created by zhang ju on Mar 4, 2010
Latest reply on Mar 31, 2010 by Ronald Collins

I use MPC8315ERDB, when I running a small program , something is happening. The program is running to the function __start(),  not go.

asm void __start(register int argc, register char **argv, register char **envp)
{
 nofralloc       /* MWERKS: explicitly no stack */
          /* frame allocation */  mr  r14, argc
 mr  r15, argv
 mr  r16, envp
The program is running here, not move. I run this program in bought borad, and compare these. the argc, argv, envp are wrong.Why and how to correct.

Outcomes