PowerPC Assembler only project

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PowerPC Assembler only project

1,100 Views
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.

Labels (1)
0 Kudos
Reply
3 Replies

791 Views
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 Kudos
Reply

791 Views
Bloodhound
Contributor I

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

0 Kudos
Reply

791 Views
Bloodhound
Contributor I

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

0 Kudos
Reply