Disassembling Softec examples

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

Disassembling Softec examples

3,672 次查看
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,328 次查看
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,328 次查看
JohnnyP
Contributor III
Thank you so much.

Except for the port configs and load/stores, disassembled C code looks weird.
0 项奖励
回复

1,328 次查看
CrasyCat
Specialist III
What do you mean?
Compiler generating too much code? Or difficult to understand?
 
CrasyCat
0 项奖励
回复

1,328 次查看
JohnnyP
Contributor III
Difficult to understand. I put it away for now.
0 项奖励
回复