PowerPC Assembler only project

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

PowerPC Assembler only project

1,044件の閲覧回数
Bloodhound
Contributor I

Hi All,

 

I need to do a small project for an e200z760 core device (MPC5676R) that needs to be written in VLE assembler, but it seems Code Warrior is very much C orientated.

Is it possible to create a minimalist project that does nothing more than call the assembler code without it adding in a bunch of C starter files to the project? (I have CodeWarrior for MPC55xxMPC56xx v2.10 installed).

 

Thanks.

ラベル(1)
0 件の賞賛
返信
3 返答(返信)

735件の閲覧回数
stanish
NXP Employee
NXP Employee

Hello Ross,

You can create MPC5676R project in the Project Wizard and remove/delete all source files.

Then you can e.g create and add to project:

__startup.s file which includes __start routine ...this is where you can add your startup asm code. It jumps to main_asm() at the end.

And main_asm.s this is where you place your main code.

You can create your own project structure - this is just an example (see attached project).

Hope it helps.

Stan

0 件の賞賛
返信

735件の閲覧回数
Bloodhound
Contributor I

Thank you Stan, I shall give it a go with your attachment.

0 件の賞賛
返信

735件の閲覧回数
Bloodhound
Contributor I

Update: thanks again Stan, what did provided was perfect, much appreciated.

0 件の賞賛
返信