智能车制作

标题: 程序无法连续运行 [打印本页]

作者: wsyn470    时间: 2009-4-26 20:50
标题: 程序无法连续运行
search:
        CMPB  2, +X     ; test actual label
        BHI   search    ; branch to the next entry
        BEQ   found     ; we found the right entry
        LDX   0, SP     ; we missed the right entry, so reload the address of the default label
found:  PSHB            ; save B register
        LDAB  1, X      ; load offset
        LEAX  B, X      ; calculate dest address
        LDAB  3, SP+    ; reload A, release stack
        _SRET           ; debug info only: This is the last instr of a function with a special return
        JMP   0, X      ; jump to the selected label
  }
}
每次程序一到这就只能一步一步的运行了,为什么?
作者: wsyn470    时间: 2009-4-26 20:55
而且,改掉RTICTL的值后,程序会在另一个地方停下,而后还是只能一步一步运行.
作者: 星空下的学生    时间: 2009-4-27 10:47
这是在线调试的时候的吗???这看不懂哦,发出你的这一段C程序看下啊
作者: wsyn470    时间: 2009-4-27 12:59
这段是系统自带的,意思不重要,要是改掉RTICTL的值,会跳到别的地方,比如自己写的地方停下.是否中断问题?
作者: 盗名人    时间: 2013-4-22 23:52
真心不懂





欢迎光临 智能车制作 (http://111.231.132.190/) Powered by Discuz! X3.2