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

📄 externint.asm

📁 SPCE061A_USB可以让你自己检测开发板是否能正常动作
💻 ASM
📖 第 1 页 / 共 2 页
字号:
LM26:
	// total=0, vars=0
	// frame_pointer_needed: 1
	push bp to [sp]
	bp=sp+1

	R1=BP+3
.debug
	.dw '.stabn 0x44,0,102,',0,0
	.dd LM27-_F_DMA_Eot
	.dw 0x0d,0x0a
.code
LM27:
L23:

	pop bp from [sp]
	retf
	.endp	// end of F_DMA_Eot

.debug
	.dw '.stabf ',0,0
	.dd LME2-_F_DMA_Eot
	.dw 0x0d,0x0a
.code
LME2:
.code
.debug
	.dw '.stabs "F_Ep0_RxDone:F19",36,0,0,',0,0,offset _F_Ep0_RxDone,seg _F_Ep0_RxDone,0x0d,0x0a
.CODE
.public _F_Ep0_RxDone
_F_Ep0_RxDone:	.proc
.debug
	.dw '.stabn 0x44,0,111,',0,0
	.dd LM28-_F_Ep0_RxDone
	.dw 0x0d,0x0a
.code
LM28:
	// total=1, vars=1
	// frame_pointer_needed: 1
	push bp to [sp]
	sp-=1
	bp=sp+1

	R1=BP+4
	[BP]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,112,',0,0
	.dd LM29-_F_Ep0_RxDone
	.dw 0x0d,0x0a
.code
LM29:
	R1=0	// QImode move
	[SP--]=R1	// QImode move
	call _F_D12_ReadLastTransactionStatus	// call with return value
	SP=SP+1
	[_ep_last]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,113,',0,0
	.dd LM30-_F_Ep0_RxDone
	.dw 0x0d,0x0a
.code
LM30:
	call _F_Ep0_RxDone_Detail	// call without return value
.debug
	.dw '.stabn 0x44,0,114,',0,0
	.dd LM31-_F_Ep0_RxDone
	.dw 0x0d,0x0a
.code
LM31:
.debug
	.dw '.stabn 0x44,0,114,',0,0
	.dd LM32-_F_Ep0_RxDone
	.dw 0x0d,0x0a
.code
LM32:
L24:

	sp+=1
	pop bp from [sp]
	retf
	.endp	// end of F_Ep0_RxDone

.debug
	.dw '.stabf ',0,0
	.dd LME3-_F_Ep0_RxDone
	.dw 0x0d,0x0a
.code
LME3:
.code
.debug
	.dw '.stabs "F_Ep0_TxDone:F19",36,0,0,',0,0,offset _F_Ep0_TxDone,seg _F_Ep0_TxDone,0x0d,0x0a
.CODE
.public _F_Ep0_TxDone
_F_Ep0_TxDone:	.proc
.debug
	.dw '.stabn 0x44,0,123,',0,0
	.dd LM33-_F_Ep0_TxDone
	.dw 0x0d,0x0a
.code
LM33:
	// total=1, vars=1
	// frame_pointer_needed: 1
	push bp to [sp]
	sp-=1
	bp=sp+1

	R1=BP+4
	[BP]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,125,',0,0
	.dd LM34-_F_Ep0_TxDone
	.dw 0x0d,0x0a
.code
LM34:
	R1=1	// QImode move
	[SP--]=R1	// QImode move
	call _F_D12_ReadLastTransactionStatus	// call with return value
	SP=SP+1
.debug
	.dw '.stabn 0x44,0,126,',0,0
	.dd LM35-_F_Ep0_TxDone
	.dw 0x0d,0x0a
.code
LM35:
	call _F_Ep0_TxDone_Detail	// call without return value
.debug
	.dw '.stabn 0x44,0,128,',0,0
	.dd LM36-_F_Ep0_TxDone
	.dw 0x0d,0x0a
.code
LM36:
.debug
	.dw '.stabn 0x44,0,128,',0,0
	.dd LM37-_F_Ep0_TxDone
	.dw 0x0d,0x0a
.code
LM37:
L25:

	sp+=1
	pop bp from [sp]
	retf
	.endp	// end of F_Ep0_TxDone

.debug
	.dw '.stabf ',0,0
	.dd LME4-_F_Ep0_TxDone
	.dw 0x0d,0x0a
.code
LME4:
.code
.debug
	.dw '.stabs "F_Ep1_TxDone:F19",36,0,0,',0,0,offset _F_Ep1_TxDone,seg _F_Ep1_TxDone,0x0d,0x0a
.CODE
.public _F_Ep1_TxDone
_F_Ep1_TxDone:	.proc
.debug
	.dw '.stabn 0x44,0,137,',0,0
	.dd LM38-_F_Ep1_TxDone
	.dw 0x0d,0x0a
.code
LM38:
	// total=1, vars=1
	// frame_pointer_needed: 1
	push bp to [sp]
	sp-=1
	bp=sp+1

	R1=BP+4
	[BP]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,138,',0,0
	.dd LM39-_F_Ep1_TxDone
	.dw 0x0d,0x0a
.code
LM39:
	R1=3	// QImode move
	[SP--]=R1	// QImode move
	call _F_D12_ReadLastTransactionStatus	// call with return value
	SP=SP+1
.debug
	.dw '.stabn 0x44,0,139,',0,0
	.dd LM40-_F_Ep1_TxDone
	.dw 0x0d,0x0a
.code
LM40:
.debug
	.dw '.stabn 0x44,0,139,',0,0
	.dd LM41-_F_Ep1_TxDone
	.dw 0x0d,0x0a
.code
LM41:
L26:

	sp+=1
	pop bp from [sp]
	retf
	.endp	// end of F_Ep1_TxDone

.debug
	.dw '.stabf ',0,0
	.dd LME5-_F_Ep1_TxDone
	.dw 0x0d,0x0a
.code
LME5:
.code
.debug
	.dw '.stabs "F_Ep1_RxDone:F19",36,0,0,',0,0,offset _F_Ep1_RxDone,seg _F_Ep1_RxDone,0x0d,0x0a
.CODE
.public _F_Ep1_RxDone
_F_Ep1_RxDone:	.proc
.debug
	.dw '.stabn 0x44,0,148,',0,0
	.dd LM42-_F_Ep1_RxDone
	.dw 0x0d,0x0a
.code
LM42:
	// total=1, vars=1
	// frame_pointer_needed: 1
	push bp to [sp]
	sp-=1
	bp=sp+1

	R1=BP+4
	[BP]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,149,',0,0
	.dd LM43-_F_Ep1_RxDone
	.dw 0x0d,0x0a
.code
LM43:
	R1=2	// QImode move
	[SP--]=R1	// QImode move
	call _F_D12_ReadLastTransactionStatus	// call with return value
	SP=SP+1
.debug
	.dw '.stabn 0x44,0,150,',0,0
	.dd LM44-_F_Ep1_RxDone
	.dw 0x0d,0x0a
.code
LM44:
.debug
	.dw '.stabn 0x44,0,150,',0,0
	.dd LM45-_F_Ep1_RxDone
	.dw 0x0d,0x0a
.code
LM45:
L27:

	sp+=1
	pop bp from [sp]
	retf
	.endp	// end of F_Ep1_RxDone

.debug
	.dw '.stabf ',0,0
	.dd LME6-_F_Ep1_RxDone
	.dw 0x0d,0x0a
.code
LME6:
.code
.debug
	.dw '.stabs "F_Main_TxDone:F19",36,0,0,',0,0,offset _F_Main_TxDone,seg _F_Main_TxDone,0x0d,0x0a
.CODE
.public _F_Main_TxDone
_F_Main_TxDone:	.proc
.debug
	.dw '.stabn 0x44,0,160,',0,0
	.dd LM46-_F_Main_TxDone
	.dw 0x0d,0x0a
.code
LM46:
	// total=1, vars=1
	// frame_pointer_needed: 1
	push bp to [sp]
	sp-=1
	bp=sp+1

	R1=BP+4
	[BP]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,161,',0,0
	.dd LM47-_F_Main_TxDone
	.dw 0x0d,0x0a
.code
LM47:
	R1=5	// QImode move
	[SP--]=R1	// QImode move
	call _F_D12_ReadLastTransactionStatus	// call with return value
	SP=SP+1
.debug
	.dw '.stabn 0x44,0,162,',0,0
	.dd LM48-_F_Main_TxDone
	.dw 0x0d,0x0a
.code
LM48:
.debug
	.dw '.stabn 0x44,0,162,',0,0
	.dd LM49-_F_Main_TxDone
	.dw 0x0d,0x0a
.code
LM49:
L28:

	sp+=1
	pop bp from [sp]
	retf
	.endp	// end of F_Main_TxDone

.debug
	.dw '.stabf ',0,0
	.dd LME7-_F_Main_TxDone
	.dw 0x0d,0x0a
.code
LME7:
.code
.debug
	.dw '.stabs "F_Main_RxDone:F19",36,0,0,',0,0,offset _F_Main_RxDone,seg _F_Main_RxDone,0x0d,0x0a
.CODE
.public _F_Main_RxDone
_F_Main_RxDone:	.proc
.debug
	.dw '.stabn 0x44,0,171,',0,0
	.dd LM50-_F_Main_RxDone
	.dw 0x0d,0x0a
.code
LM50:
	// total=2, vars=2
	// frame_pointer_needed: 1
	push bp to [sp]
	sp-=2
	bp=sp+1

	R1=BP+5
	[bp+1]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,172,',0,0
	.dd LM51-_F_Main_RxDone
	.dw 0x0d,0x0a
.code
LM51:
LBB2:
.debug
	.dw '.stabn 0x44,0,173,',0,0
	.dd LM52-_F_Main_RxDone
	.dw 0x0d,0x0a
.code
LM52:
	R1=4	// QImode move
	[SP--]=R1	// QImode move
	call _F_D12_ReadLastTransactionStatus	// call with return value
	SP=SP+1
.debug
	.dw '.stabn 0x44,0,174,',0,0
	.dd LM53-_F_Main_RxDone
	.dw 0x0d,0x0a
.code
LM53:
	R1=_MainEpBuf	// QImode move
	[SP--]=R1	// QImode move
	R1=64	// QImode move
	[SP--]=R1	// QImode move
	R1=4	// QImode move
	[SP--]=R1	// QImode move
	call _F_D12_ReadEndpoint	// call with return value
	SP=SP+3
	[BP]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,175,',0,0
	.dd LM54-_F_Main_RxDone
	.dw 0x0d,0x0a
.code
LM54:
	R1=[BP]	// QImode move
	CMP R1,0	// QImode test
	JNZ L31	// QImode EQ
	PC=L30
L31:
.debug
	.dw '.stabn 0x44,0,177,',0,0
	.dd LM55-_F_Main_RxDone
	.dw 0x0d,0x0a
.code
LM55:
	R1=[_bEPPflags]	// QImode move
	R2=512	// QImode move
	[_bEPPflags]=R1|R2
.debug
	.dw '.stabn 0x44,0,178,',0,0
	.dd LM56-_F_Main_RxDone
	.dw 0x0d,0x0a
.code
LM56:
	R1=[BP]	// QImode move
	[_OneRecByteNum]=R1	// QImode move
L30:
.debug
	.dw '.stabn 0x44,0,180,',0,0
	.dd LM57-_F_Main_RxDone
	.dw 0x0d,0x0a
.code
LM57:
LBE2:
.debug
	.dw '.stabn 0x44,0,180,',0,0
	.dd LM58-_F_Main_RxDone
	.dw 0x0d,0x0a
.code
LM58:
L29:

	sp+=2
	pop bp from [sp]
	retf
	.endp	// end of F_Main_RxDone

.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB2-_F_Main_RxDone
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabs "len:4",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabn 0xe0,0,0,',0,0
	.dd LBE2-_F_Main_RxDone
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabf ',0,0
	.dd LME8-_F_Main_RxDone
	.dw 0x0d,0x0a
.code
LME8:
.debug
	.dw '.stabs "bEPPflags:G22",32,0,0,',0,0,offset _bEPPflags,seg _bEPPflags,0x0d,0x0a
.CODE
.ram
.public _bEPPflags
_bEPPflags:
	.dw 0
.debug
	.dw '.stabs "i_st:G4",32,0,0,',0,0,offset _i_st,seg _i_st,0x0d,0x0a
.CODE
.ram
.public _i_st
_i_st:
	.dw 0
.debug
	.dw '.stabs "ep_last:G4",32,0,0,',0,0,offset _ep_last,seg _ep_last,0x0d,0x0a
.CODE
.ram
.public _ep_last
_ep_last:
	.dw 0
.debug
	.dw '.stabs "EpBuf:G65=ar1;0;63;4",32,0,0,',0,0,offset _EpBuf,seg _EpBuf,0x0d,0x0a
.CODE
.ram
.public _EpBuf
_EpBuf:
	.dw 64 dup(0)
.debug
	.dw '.stabs "MainEpBuf:G65",32,0,0,',0,0,offset _MainEpBuf,seg _MainEpBuf,0x0d,0x0a
.CODE
.ram
.public _MainEpBuf
_MainEpBuf:
	.dw 64 dup(0)
.external _F_D12_ReadEndpoint
.external _F_Ep0_TxDone_Detail
.external _F_Ep0_RxDone_Detail
.external _F_D12_ReadLastTransactionStatus
.external _F_D12_ReadInterruptRegister
	.end

⌨️ 快捷键说明

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