Processor Expert - What is the correct use of a *.s User Module?

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

Processor Expert - What is the correct use of a *.s User Module?

Jump to solution
1,412 Views
carloscuevas
Contributor III

Hello, I really like the way Processor Expert uses User Modules, when you create a *.c user module it automatically creates it's *.h but theres one user module that can be created, it's the *.s User Module. Whats the correct use of a *.s file? What kind of data can be stored there? if *.s means Source, whats the difference between a .c and a .s?

 

I know we can use any extension we like to store code ans simple include it with #include, but I want to use each thing in the correct way.

Labels (1)
0 Kudos
Reply
1 Solution
622 Views
ProcessorExpert
Senior Contributor III

Hello,

the *.s file extension is currently offered within "User modules" pop-up menu for Coldfire derivatives. Files with this extension are dedicated for assembly language. For more details
about "File Mappings" in PE and in CW please see "Target setting" window (ALT+F7).

 

best regards
Vojtech Filip
Processor Expert Support Team

 

target_settings.JPG

Message Edited by t.dowe on 2009-11-20 02:17 PM

View solution in original post

0 Kudos
Reply
2 Replies
623 Views
ProcessorExpert
Senior Contributor III

Hello,

the *.s file extension is currently offered within "User modules" pop-up menu for Coldfire derivatives. Files with this extension are dedicated for assembly language. For more details
about "File Mappings" in PE and in CW please see "Target setting" window (ALT+F7).

 

best regards
Vojtech Filip
Processor Expert Support Team

 

target_settings.JPG

Message Edited by t.dowe on 2009-11-20 02:17 PM
0 Kudos
Reply
622 Views
CrasyCat
Specialist III

Hello

 

- Which CPU are you targeting (HC08, HC12, Coldfire, ..)
- Which version of CodeWarrior are you using?
To retrieve that info:
- Start CodeWarrior
- Select Help -> About Freescale CodeWarrior
- Click on "Install Products"
- CodeWarrior version used is displayed on top in the Installed Products dialog.

 

CrasyCat

0 Kudos
Reply