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.

TMS320C6748: dsp6748 汇编程序无法跳转问题

Part Number: TMS320C6748


.option D,T
.length 102
.width 140
COPY_TABLE .equ 0xc4000000
CIN00ADDR .equ 0xc2006560


.sect ".myboot"
.global _boot

_boot:
;************************************************************************
;* Debug Loop - Comment out B for Normal Operation
;************************************************************************


mvkl  CIN00ADDR, b1 ; load entry address
mvkh CIN00ADDR, b1


mvkl COPY_TABLE, a3 ; load first pointer
mvkh COPY_TABLE, a3

ldw *a3++, b0 ; b0 : count
ldw *a3++, a4 ; a4 : start addr

copy_loop:
        ldw *a3++, A5 ;
        sub b0,1,b0 ; decrement counter
       stb A5,*a4;
       ADD 4, a4, a4
       nop
       nop
       nop
       nop
       nop
       nop
       nop
       nop
       nop

      [!b0] b .S1 copy_loop

b .S2 b1 //<----------此处跳转到b1寄存器的地方执行,b是跳转指令。 为什么不能跳转到b1的地方执行代码?请高手帮忙看下
nop 5