Disassembling Softec examples

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

Disassembling Softec examples

3,667件の閲覧回数
JohnnyP
Contributor III
I have the HCS12 starter kit, and want to see the assembly listing of the examples, which are programmed in C.

DataBlaze can display the memory contents. CW can disassemble files.

How can I get the contents into a file that CW can read?

From the example called ADC.mcp:

FFFE FFFF reset vector is $4029.

4029 1E 40 39 02 03 FF 40 then strange characters
4030 etc
ラベル(1)
0 件の賞賛
返信
4 返答(返信)

1,323件の閲覧回数
CrasyCat
Specialist III
Hello
 
You can see a disassembly listing from the whole application in the following way:
  - Add the .abs file to the .mcp window
  - Click with the right mouse button on the .abs file name and select disassemble.
    A new window is opened showing the disassembly listing from the whole application.
 
Make sure to remove the .abs from the project before you do a new build, otherwise you get strange messages.
 
CrasyCat
0 件の賞賛
返信

1,323件の閲覧回数
JohnnyP
Contributor III
Thank you so much.

Except for the port configs and load/stores, disassembled C code looks weird.
0 件の賞賛
返信

1,323件の閲覧回数
CrasyCat
Specialist III
What do you mean?
Compiler generating too much code? Or difficult to understand?
 
CrasyCat
0 件の賞賛
返信

1,323件の閲覧回数
JohnnyP
Contributor III
Difficult to understand. I put it away for now.
0 件の賞賛
返信