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.

TMS28035中,BF的汇编指令集以及MOX,MOVW,MOL,MOV的区别。

这是老工程师的汇编:

_Epwm1_Isr:
; entry into Zero event Isr 进入零中断事件
;automatic context save :
;ST0,T,AL,AH,PL,PH,AR0,AR1,ST1,DP,IER,DBGSTAT,return address
;context save


ASP
MOVL *SP++,XAR7
SPM 0
NOP *,ARP7 ; Why XAR4 will be changed (?)

CLRC PAGE0,OVM
SETC SXM

MOVW DP,#_IsrVars + _CPU_DP
MOVL XAR7,#_AdcResult + DCCURR
MOV AL,*
MOV @_u16ADCurr,AL

CMP @_u16FlagPFCSd,#1
BF DCDC_PFCSD,EQ ;BF跳转指令
MOVL XAR7,#_GpioDataRegs + _GPBDAT
TBIT *,#02 ;Gpio34 PFCSd
BF DCDC_NOPFCSd,NTC
INC @_u16CntPFCSd ;Cnt add 1
CMP @_u16CntPFCSd,#2
BF DCDC_NOPFCSd,LT
MOVB AL,#0x01
MOV @_u16FlagPFCSd,AL

中间有几个跳转指令,我不知道跳转指令的条件是什么,什么时候跳转到DCDC_NOPFCSd,什么时候跳转到 DCDC_NOPFCSd。