start08.c

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,844件の閲覧回数
admin
Specialist II
Hello,
Can anyone explain the purpose of the file start08.c in Code Warrior? and why is it that when I debug my code  the source window uses the start08.c instead of my program?

Thanks!
ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
956件の閲覧回数
CompilerGuru
NXP Employee
NXP Employee
The purpose of start08.c is to initialize the stack pointer, all global variables and once this is done, to call main.
So the reset vector points to _Startup in start08.c and once all those things did happen, main, say your code, gets started. One of the questions when creating a new project is also to skip most of the code in start08.c (the variable initialization).

Daniel

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
957件の閲覧回数
CompilerGuru
NXP Employee
NXP Employee
The purpose of start08.c is to initialize the stack pointer, all global variables and once this is done, to call main.
So the reset vector points to _Startup in start08.c and once all those things did happen, main, say your code, gets started. One of the questions when creating a new project is also to skip most of the code in start08.c (the variable initialization).

Daniel
0 件の賞賛
返信