⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 main.asm

📁 转载: DSP串口硬件SPI接口LCD12864显示C++程序代码 细描述: 终于把5409的McBSP的配置搞清楚了!现在就把我做的写出来
💻 ASM
📖 第 1 页 / 共 5 页
字号:
_Eint0Isr:
	.line	1
        NOP
        PSHM      AL
        PSHM      AH
        PSHM      AG
        PSHM      BL
        PSHM      BH
        PSHM      BG
        PSHM      AR0
        PSHM      AR1
        PSHM      AR2
        PSHM      AR3
        PSHM      AR4
        PSHM      AR5
        PSHM      AR6
        PSHM      AR7
        PSHM      FP
        PSHM      BK
        PSHM      T
        PSHM      ST0
        PSHM      ST1
        PSHM      BRC
        PSHM      PMST
        PSHM      RSA
        PSHM      REA
        ANDM      #32063,*(ST1)
        ORM       #16384,*(ST1)
        ANDM      #-4,*(PMST)
        LDM       SP,A
        ANDM      #-2,*(SP)
        NOP
        NOP
        PSHM      AL
        FRAME     #-3
        NOP
	.line	2
        ST        #2,*SP(0)             ; |410| 
        ST        #0,*SP(1)             ; |410| 
        CALLD     #_SetLcdDisplayPos__6LcdObjFUiT1 ; |410| 
        LD        #_Lcd,A
        ; call occurs [#_SetLcdDisplayPos__6LcdObjFUiT1] ; |410| 
	.line	3
        ST        #SL7,*SP(0)           ; |411| 
        CALLD     #_LcdDisplay__6LcdObjFPCc ; |411| 
        LD        #_Lcd,A
        ; call occurs [#_LcdDisplay__6LcdObjFPCc] ; |411| 
	.line	4
        MVDM      *(_SREG),AR1
        NOP
        ST        #1,*AR1(1)            ; |412| 
	.line	5
        FRAME     #3
        POPM      SP
        NOP
        POPM      REA
        POPM      RSA
        POPM      PMST
        POPM      BRC
        POPM      ST1
        POPM      ST0
        POPM      T
        POPM      BK
        POPM      FP
        POPM      AR7
        POPM      AR6
        POPM      AR5
        POPM      AR4
        POPM      AR3
        POPM      AR2
        POPM      AR1
        POPM      AR0
        POPM      BG
        POPM      BH
        POPM      BL
        POPM      AG
        POPM      AH
        POPM      AL
        RETE
        ; branch occurs
	.endfunc	413,0e39dffc7h,25


	.sect	".text"
	.global	_Eint1Isr
	.sym	_Eint1Isr,_Eint1Isr, 32, 2, 0
	.func	415

;***************************************************************
;* FUNCTION DEF: _Eint1Isr                                     *
;***************************************************************
_Eint1Isr:
	.line	1
        NOP
        PSHM      AL
        PSHM      AH
        PSHM      AG
        PSHM      BL
        PSHM      BH
        PSHM      BG
        PSHM      AR0
        PSHM      AR1
        PSHM      AR2
        PSHM      AR3
        PSHM      AR4
        PSHM      AR5
        PSHM      AR6
        PSHM      AR7
        PSHM      FP
        PSHM      BK
        PSHM      T
        PSHM      ST0
        PSHM      ST1
        PSHM      BRC
        PSHM      PMST
        PSHM      RSA
        PSHM      REA
        ANDM      #32063,*(ST1)
        ORM       #16384,*(ST1)
        ANDM      #-4,*(PMST)
        LDM       SP,A
        ANDM      #-2,*(SP)
        NOP
        NOP
        PSHM      AL
        FRAME     #-3
        NOP
	.line	2
        ST        #2,*SP(0)             ; |416| 
        ST        #0,*SP(1)             ; |416| 
        CALLD     #_SetLcdDisplayPos__6LcdObjFUiT1 ; |416| 
        LD        #_Lcd,A
        ; call occurs [#_SetLcdDisplayPos__6LcdObjFUiT1] ; |416| 
	.line	3
        ST        #SL8,*SP(0)           ; |417| 
        CALLD     #_LcdDisplay__6LcdObjFPCc ; |417| 
        LD        #_Lcd,A
        ; call occurs [#_LcdDisplay__6LcdObjFPCc] ; |417| 
	.line	4
        MVDM      *(_SREG),AR1
        NOP
        ST        #2,*AR1(1)            ; |418| 
	.line	5
        FRAME     #3
        POPM      SP
        NOP
        POPM      REA
        POPM      RSA
        POPM      PMST
        POPM      BRC
        POPM      ST1
        POPM      ST0
        POPM      T
        POPM      BK
        POPM      FP
        POPM      AR7
        POPM      AR6
        POPM      AR5
        POPM      AR4
        POPM      AR3
        POPM      AR2
        POPM      AR1
        POPM      AR0
        POPM      BG
        POPM      BH
        POPM      BL
        POPM      AG
        POPM      AH
        POPM      AL
        RETE
        ; branch occurs
	.endfunc	419,0e39dffc7h,25


	.sect	".text"
	.global	_Eint2Isr
	.sym	_Eint2Isr,_Eint2Isr, 32, 2, 0
	.func	421

;***************************************************************
;* FUNCTION DEF: _Eint2Isr                                     *
;***************************************************************
_Eint2Isr:
	.line	1
        NOP
        PSHM      AL
        PSHM      AH
        PSHM      AG
        PSHM      BL
        PSHM      BH
        PSHM      BG
        PSHM      AR0
        PSHM      AR1
        PSHM      AR2
        PSHM      AR3
        PSHM      AR4
        PSHM      AR5
        PSHM      AR6
        PSHM      AR7
        PSHM      FP
        PSHM      BK
        PSHM      T
        PSHM      ST0
        PSHM      ST1
        PSHM      BRC
        PSHM      PMST
        PSHM      RSA
        PSHM      REA
        ANDM      #32063,*(ST1)
        ORM       #16384,*(ST1)
        ANDM      #-4,*(PMST)
        LDM       SP,A
        ANDM      #-2,*(SP)
        NOP
        NOP
        PSHM      AL
        FRAME     #-3
        NOP
	.line	2
        ST        #2,*SP(0)             ; |422| 
        ST        #0,*SP(1)             ; |422| 
        CALLD     #_SetLcdDisplayPos__6LcdObjFUiT1 ; |422| 
        LD        #_Lcd,A
        ; call occurs [#_SetLcdDisplayPos__6LcdObjFUiT1] ; |422| 
	.line	3
        ST        #SL9,*SP(0)           ; |423| 
        CALLD     #_LcdDisplay__6LcdObjFPCc ; |423| 
        LD        #_Lcd,A
        ; call occurs [#_LcdDisplay__6LcdObjFPCc] ; |423| 
	.line	4
        MVDM      *(_SREG),AR1
        NOP
        ST        #4,*AR1(1)            ; |424| 
	.line	5
        FRAME     #3
        POPM      SP
        NOP
        POPM      REA
        POPM      RSA
        POPM      PMST
        POPM      BRC
        POPM      ST1
        POPM      ST0
        POPM      T
        POPM      BK
        POPM      FP
        POPM      AR7
        POPM      AR6
        POPM      AR5
        POPM      AR4
        POPM      AR3
        POPM      AR2
        POPM      AR1
        POPM      AR0
        POPM      BG
        POPM      BH
        POPM      BL
        POPM      AG
        POPM      AH
        POPM      AL
        RETE
        ; branch occurs
	.endfunc	425,0e39dffc7h,25


	.sect	".text"
	.global	_Eint3Isr
	.sym	_Eint3Isr,_Eint3Isr, 32, 2, 0
	.func	427

;***************************************************************
;* FUNCTION DEF: _Eint3Isr                                     *
;***************************************************************
_Eint3Isr:
	.line	1
        NOP
        PSHM      AL
        PSHM      AH
        PSHM      AG
        PSHM      BL
        PSHM      BH
        PSHM      BG
        PSHM      AR0
        PSHM      AR1
        PSHM      AR2
        PSHM      AR3
        PSHM      AR4
        PSHM      AR5
        PSHM      AR6
        PSHM      AR7
        PSHM      FP
        PSHM      BK
        PSHM      T
        PSHM      ST0
        PSHM      ST1
        PSHM      BRC
        PSHM      PMST
        PSHM      RSA
        PSHM      REA
        ANDM      #32063,*(ST1)
        ORM       #16384,*(ST1)
        ANDM      #-4,*(PMST)
        LDM       SP,A
        ANDM      #-2,*(SP)
        NOP
        NOP
        PSHM      AL
        FRAME     #-3
        NOP
	.line	2
        ST        #2,*SP(0)             ; |428| 
        ST        #0,*SP(1)             ; |428| 
        CALLD     #_SetLcdDisplayPos__6LcdObjFUiT1 ; |428| 
        LD        #_Lcd,A
        ; call occurs [#_SetLcdDisplayPos__6LcdObjFUiT1] ; |428| 
	.line	3
        ST        #SL10,*SP(0)          ; |429| 
        CALLD     #_LcdDisplay__6LcdObjFPCc ; |429| 
        LD        #_Lcd,A
        ; call occurs [#_LcdDisplay__6LcdObjFPCc] ; |429| 
	.line	4
        MVDM      *(_SREG),AR1
        NOP
        ST        #256,*AR1(1)          ; |430| 
	.line	5
        FRAME     #3
        POPM      SP
        NOP
        POPM      REA
        POPM      RSA
        POPM      PMST
        POPM      BRC
        POPM      ST1
        POPM      ST0
        POPM      T
        POPM      BK
        POPM      FP
        POPM      AR7
        POPM      AR6
        POPM      AR5
        POPM      AR4
        POPM      AR3
        POPM      AR2
        POPM      AR1
        POPM      AR0
        POPM      BG
        POPM      BH
        POPM      BL
        POPM      AG
        POPM      AH
        POPM      AL
        RETE
        ; branch occurs
	.endfunc	431,0e39dffc7h,25


	.sect	".text"
	.global	___ct__9SystemObjFv
	.sym	___ct__9SystemObjFv,___ct__9SystemObjFv, 104, 2, 0, _SystemObj
	.func	25

;***************************************************************
;* FUNCTION DEF: ___ct__9SystemObjFv                           *
;***************************************************************
___ct__9SystemObjFv:
	.line	2
;* A     assigned to _this
	.sym	_this,0, 24, 17, 16, _SystemObj
	.sym	_this,0, 24, 1, 16, _SystemObj
        PSHM      AR1
        FRAME     #-2
        NOP
        STL       A,*SP(0)
        LD        *SP(0),A              ; |26| 
        BC        L11,ANEQ              ; |26| 
        ; branch occurs ; |26| 
        CALLD     #___nw__FUi           ; |26| 
        NOP
        LD        #1,A
        ; call occurs [#___nw__FUi] ; |26| 
        STL       A,*SP(0)
        LDM       AL,A                  ; |26| 
        BC        L12,AEQ               ; |26| 
        ; branch occurs ; |26| 
L11:    
	.line	3
 ssbx intm
	.line	4
        MVDM      *(_SREG),AR1
        NOP
        ST        #0,*AR1               ; |28| 
	.line	5
        MVDM      *(_SREG),AR1
        NOP
        ST        #65535,*AR1(1)        ; |29| 
	.line	7
        MVDM      *(_SREG),AR1
        NOP
        ST        #224,*AR1(29)         ; |31| 
	.line	16
        LD        *SP(0),A
        CALL      #_SystemInit__9SystemObjFv ; |40| 
        ; call occurs [#_SystemInit__9SystemObjFv] ; |40| 
L12:    
        LD        *SP(0),A
	.line	17
        FRAME     #2                    ; |40| 
        POPM      AR1                   ; |40| 
        RET       ; |40| 
        ; return occurs ; |40| 
	.endfunc	41,000000400h,3


	.sect	".text"
	.global	_SystemInit__9SystemObjFv
	.sym	_SystemInit__9SystemObjFv,_SystemInit__9SystemObjFv, 32, 2, 0
	.func	43

;***************************************************************
;* FUNCTION DEF: _SystemInit__9SystemObjFv                     *
;***************************************************************
_SystemInit__9SystemObjFv:
	.line	2
;* A     assigned to _this
	.sym	_this,0, 24, 17, 16, _SystemObj
	.sym	_this,0, 24, 1, 16, _SystemObj
        PSHM      AR1
        FRAME     #-2
        NOP
        STL       A,*SP(0)
	.line	3

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -