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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

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

跳至解决方案
1,291 次查看
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.

标签 (1)
0 项奖励
回复
1 解答
501 次查看
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 项奖励
回复
2 回复数
502 次查看
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 项奖励
回复
501 次查看
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 项奖励
回复