Calling my Assembler program from C

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Calling my Assembler program from C

727件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by acelink1 on Sat Mar 01 04:39:43 MST 2014
Hi Guys, can someone please explain how I jump to my .S assembler program from within a new C Project.

As you guys know when creating a new Xpresso C project the C program creates the LPC4357 startup code and then has an infinite
loop at the end.

How do I jump to my assembler program just before the infinite loop. I have no idea how to do it. I'm not a C coder, I'm an assembler coder.

My assembler program is called _start:

And thanks for your support guys, I really appreciate it.

Pete :)
0 件の賞賛
返信
2 返答(返信)

709件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by acelink1 on Sun Mar 02 01:12:30 MST 2014
Thank you TheFallGuy:  I try it at work on Moday.

Pete :)
0 件の賞賛
返信

709件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Sat Mar 01 10:31:43 MST 2014
extern void _start(void); // declare the function

_start(): // call the function

0 件の賞賛
返信