Assembler / Disassembly Files

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

Assembler / Disassembly Files

ソリューションへジャンプ
2,466件の閲覧回数
Germarmin
Contributor I
Hi,

as far as I know it is not possible to create assembler files but only disassembly files.

My question is: can I choose how detailed those files are? Because from the files I created I see no possibility to distinguish functions from interrupts if I did not miss anything. Because this is exactly what I need.
Does anybody know how this is possible? Because from the computer this computer is necessary as well, so it must exist somewhere, right?

Any help would be greatly appreciated. Thank you
ラベル(1)
タグ(1)
0 件の賞賛
1 解決策
805件の閲覧回数
J2MEJediMaster
Specialist I

Look in the Power Architecture Build Tools Reference manual, which has a slew of information on the command-line tools. (Caveat: This is referencing CodeWarrior for Power Architecture v8.8. If you are using Codewarrior for MPC55xx, there might be differences). This manual can be found in the CodeWarrior Help directory.

 

What you are looking for is the -show source option which would be part of the command line to the linker.  You can find this information in the mentioned manual, in the section on Command-Line for Power Architecture Processors, sub-section Library and Linking Command-Line Options. HTH.

 

---Tom

元の投稿で解決策を見る

0 件の賞賛
5 返答(返信)
805件の閲覧回数
J2MEJediMaster
Specialist I

It would, of course, help matters if you mentioned what CPU you are targeting. :smileywink:

 

For CodeWarrior for PPCs, go the the project's settings panel (type Alt-F7 to get there), then select the EPPC Disassembler settings panel. Check the Show Source Code option. Now when you disassemble a source file, you'll get a dump that contains the source code lines mixed with the assembly instructions generated for each source line. You can check some of the other options (such as Show Headers and Show Symbol Tables) to get even more information with the disassembly dump.

 

For CodeWarrior for ColdFire, go to the project's settings panel (type Alt-F7 as before) and select the ELF disassembler panel. Check the Show Source Code option, plus any others in that group to add as much detail as you need to the disassembly dump.

 

---Tom

0 件の賞賛
805件の閲覧回数
Germarmin
Contributor I
Hi Tom,

thanks again for your hint, I tried this and it probably is the solution for my problem. But I'm still looking for the command line option to achieve this with my make file. Because otherwise it would be too complicated and too much work.

You don't know if and how I can do this?

Best regards
Armin
0 件の賞賛
806件の閲覧回数
J2MEJediMaster
Specialist I

Look in the Power Architecture Build Tools Reference manual, which has a slew of information on the command-line tools. (Caveat: This is referencing CodeWarrior for Power Architecture v8.8. If you are using Codewarrior for MPC55xx, there might be differences). This manual can be found in the CodeWarrior Help directory.

 

What you are looking for is the -show source option which would be part of the command line to the linker.  You can find this information in the mentioned manual, in the section on Command-Line for Power Architecture Processors, sub-section Library and Linking Command-Line Options. HTH.

 

---Tom

0 件の賞賛
805件の閲覧回数
Germarmin
Contributor I
Thanks Tom,

this really was exactly what I was looking for.
0 件の賞賛
805件の閲覧回数
Germarmin
Contributor I

Hi Tom,

 

I'm sorry :smileyhappy: I'm targeting the MPC565 and MPC5554.

 

But I don't use the CodeWarrior GUI but only the compiler itself and start it from my makefile within Eclipse. So it would be easier if I could achieve this by using compiler options. 

But what you wrote about the mixture of  source code and assembly instructions sounds quite good. I'll have a look at that.

 

Thanks

0 件の賞賛