This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

如何使用CCS自带的dis2000.exe反汇编XX.out文件

这段时间发现CCS目录下安装了好些.exe文件,在一次工程项目中为了方便烧写,把.out文件通过CCS安装目录下的hex2000.exe转成了XX.hex文件,我想问下各位大神,如何用dis2000.exe反汇编.out文件呢?

  • spru513: 11.2 Invoking the Disassembler

  • 能举个例子吗,按照那个文档死活没有成功。我的转的文件为SPY37.out 我在命令行输入 dis2000 SPY37[.out] [SPY37],总是提示打开不对

  • dis2000 SPY37.out SPY37.asm即可,请确保.out文件与dis2000.exe在同一个路径下,后面的SPY37.asm不写也可以。

  • 10#,我觉得你能帮我解决下这个问题吗?

    我试着有了一个513K的.out文件通过dis2000反汇编出来,反出来之后变成了7632K。用记事本打开发现只有


    .sect ".data"
    00300000 b2bd .word 0xb2bd
    00300001 8f00 .word 0x8f00
    00300002 c680 .word 0xc680
    00300003 8d40 .word 0x8d40
    00300004 02fe .word 0x2fe
    00300005 8d00 .word 0x8d00
    00300006 02fd .word 0x2fd
    00300007 aabd .word 0xaabd
    00300008 3b01 .word 0x3b01
    00300009 a2bd .word 0xa2bd
    0030000a fe24 .word 0xfe24
    0030000b 929c .word 0x929c
    0030000c 9494 .word 0x9494
    0030000d 8d00 .word 0x8d00
    0030000e 02ff .word 0x2ff
    0030000f 9494 .word 0x9494
    00300010 34a9 .word 0x34a9

    .......................................

    0033fff6 0071 .word 0x71
    0033fff7 8458 .word 0x8458
    0033fff8 0000 .word 0
    0033fff9 0000 .word 0
    0033fffa 0000 .word 0
    0033fffb 0000 .word 0
    0033fffc 0000 .word 0
    0033fffd 0000 .word 0
    0033fffe 0000 .word 0
    0033ffff 0000 .word 0

    看不到.sect ".text" 的汇编指令,更奇怪的就是用CCS4.2打开那个7632K的汇编,提示An out of memory error has occurred “”“Runing eclipse ”section of read me for information on preventing tis kind of error in furture

  • 我按照  dis2000.exe file.out  输入,它报错:error loading file,不知道为什么

  • 你好,我也遇到这个问题了,请教后来怎么解决的?
  • 很简单,你这个.out文件是从器件读回来的,都是按照数据段来解析的。只有编译生成的.out文件才能反汇编出各个段。