asm file generation during build C source project on CW10.6

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

asm file generation during build C source project on CW10.6

跳至解决方案
702 次查看
ikkishingu
Contributor II

Hello,

 

I am using CW 10.6.

Could you tell me how to generate .asm file during build for C source project?

When hoge.c is compiled, hoge.asm should be generated, in my understanding,

then I think CW10.6 would delete hoge.asm during project build.

 

The .asm file genaration is better for me than disassembly because I want to compare whole .asm file.

 

I have got this experience on other vendor's IDE before.

 

Best Regards,

Ikki

标签 (1)
标记 (1)
0 项奖励
1 解答
538 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Ikki,

I ever got information from DevTech for this issue.

" - the required information can be obtained by disassembling the resulting object file, or by just right-clicking a source file and choose disassembly

- there are no plans to provide an assembly listing directly from the compiler (for S12Z)

  - there are several targets that are NOT generating such information - so far no requirements were raised for such feature (since the same behavior can be achieved with just few clicks)"


does this answer your question?


Have a great day,
Zhang Jun

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
4 回复数
538 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

hi,

what chip do you work with?


Have a great day,
Zhang Jun

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
538 次查看
ikkishingu
Contributor II

Hi,

The target device is S12ZVL32 and I use the EVB X-TWR-S12ZVL32.

But I think my question would not be depedent on device variation.

I would it may be related on build option, but unfortunately I cannot find the clue in the build option...

Best Regards,

Ikki

0 项奖励
539 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Ikki,

I ever got information from DevTech for this issue.

" - the required information can be obtained by disassembling the resulting object file, or by just right-clicking a source file and choose disassembly

- there are no plans to provide an assembly listing directly from the compiler (for S12Z)

  - there are several targets that are NOT generating such information - so far no requirements were raised for such feature (since the same behavior can be achieved with just few clicks)"


does this answer your question?


Have a great day,
Zhang Jun

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
538 次查看
ikkishingu
Contributor II

Hi Zhang,

Thank you for your information.

The second, "by just right-clicking a source file and choose disassembly" is equivalent to my desire.

Best Regards,

Ikki Shingu

0 项奖励