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

📄 chap3.asm

📁 用凌阳16位单片机SPMC75F2413A来控制无刷直流电动机的详细程序包
💻 ASM
📖 第 1 页 / 共 4 页
字号:
	pc=L26	// Indirect jump
L30:
.debug
	.dw '.stabn 0x44,0,185,',0,0
	.dd LM49-_IPM_Trigger_PD120FullPWM
	.dw 0x0d,0x0a
.code
LM49:
	R1=16673	// QImode move
	[29703]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,189,',0,0
	.dd LM50-_IPM_Trigger_PD120FullPWM
	.dw 0x0d,0x0a
.code
LM50:
	pc=L26	// Indirect jump
L31:
.debug
	.dw '.stabn 0x44,0,192,',0,0
	.dd LM51-_IPM_Trigger_PD120FullPWM
	.dw 0x0d,0x0a
.code
LM51:
	R1=16932	// QImode move
	[29703]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,196,',0,0
	.dd LM52-_IPM_Trigger_PD120FullPWM
	.dw 0x0d,0x0a
.code
LM52:
	pc=L26	// Indirect jump
L32:
.debug
	.dw '.stabn 0x44,0,199,',0,0
	.dd LM53-_IPM_Trigger_PD120FullPWM
	.dw 0x0d,0x0a
.code
LM53:
	R1=16902	// QImode move
	[29703]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,203,',0,0
	.dd LM54-_IPM_Trigger_PD120FullPWM
	.dw 0x0d,0x0a
.code
LM54:
	pc=L26	// Indirect jump
L33:
.debug
	.dw '.stabn 0x44,0,206,',0,0
	.dd LM55-_IPM_Trigger_PD120FullPWM
	.dw 0x0d,0x0a
.code
LM55:
	call _IPM_Trigger_Off	// call without return value
.debug
	.dw '.stabn 0x44,0,207,',0,0
	.dd LM56-_IPM_Trigger_PD120FullPWM
	.dw 0x0d,0x0a
.code
LM56:
	pc=L26	// Indirect jump
L26:
.debug
	.dw '.stabn 0x44,0,209,',0,0
	.dd LM57-_IPM_Trigger_PD120FullPWM
	.dw 0x0d,0x0a
.code
LM57:
.debug
	.dw '.stabn 0x44,0,209,',0,0
	.dd LM58-_IPM_Trigger_PD120FullPWM
	.dw 0x0d,0x0a
.code
LM58:
L25:

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

.debug
	.dw '.stabs "position:p4",160,0,0,4',0x0d,0x0a
.CODE
.debug
	.dw '.stabf ',0,0
	.dd LME4-_IPM_Trigger_PD120FullPWM
	.dw 0x0d,0x0a
.code
LME4:
.code
.debug
	.dw '.stabs "IPM_Trigger_ND120FullPWM:F19",36,0,0,',0,0,offset _IPM_Trigger_ND120FullPWM,seg _IPM_Trigger_ND120FullPWM,0x0d,0x0a
.CODE
.public _IPM_Trigger_ND120FullPWM
_IPM_Trigger_ND120FullPWM:	.proc
.debug
	.dw '.stabn 0x44,0,217,',0,0
	.dd LM59-_IPM_Trigger_ND120FullPWM
	.dw 0x0d,0x0a
.code
LM59:
	// 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,218,',0,0
	.dd LM60-_IPM_Trigger_ND120FullPWM
	.dw 0x0d,0x0a
.code
LM60:
	R3=[BP]	// QImode move
	R3=[R3]	// QImode move
	R2=R3&7
	R1=R2	// QImode move
	R1=R1-1
	CMP R1,5	// QImode compare
	JNA L46	// QImode GTU
	PC=L44
L46:
	R2=L45	// QImode move
	R1+=R2	// addqi3_r0r
	R2=R1	// QImode move
	R1=[R2]	// QImode move
	pc=R1	// tablejump
.text
L45:
	.dw L38
	.dw L40
	.dw L39
	.dw L42
	.dw L43
	.dw L41
.code
L38:
.debug
	.dw '.stabn 0x44,0,221,',0,0
	.dd LM61-_IPM_Trigger_ND120FullPWM
	.dw 0x0d,0x0a
.code
LM61:
	R1=17426	// QImode move
	[29703]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,225,',0,0
	.dd LM62-_IPM_Trigger_ND120FullPWM
	.dw 0x0d,0x0a
.code
LM62:
	pc=L37	// Indirect jump
L39:
.debug
	.dw '.stabn 0x44,0,228,',0,0
	.dd LM63-_IPM_Trigger_ND120FullPWM
	.dw 0x0d,0x0a
.code
LM63:
	R1=17432	// QImode move
	[29703]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,232,',0,0
	.dd LM64-_IPM_Trigger_ND120FullPWM
	.dw 0x0d,0x0a
.code
LM64:
	pc=L37	// Indirect jump
L40:
.debug
	.dw '.stabn 0x44,0,235,',0,0
	.dd LM65-_IPM_Trigger_ND120FullPWM
	.dw 0x0d,0x0a
.code
LM65:
	R1=16649	// QImode move
	[29703]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,239,',0,0
	.dd LM66-_IPM_Trigger_ND120FullPWM
	.dw 0x0d,0x0a
.code
LM66:
	pc=L37	// Indirect jump
L41:
.debug
	.dw '.stabn 0x44,0,242,',0,0
	.dd LM67-_IPM_Trigger_ND120FullPWM
	.dw 0x0d,0x0a
.code
LM67:
	R1=16673	// QImode move
	[29703]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,246,',0,0
	.dd LM68-_IPM_Trigger_ND120FullPWM
	.dw 0x0d,0x0a
.code
LM68:
	pc=L37	// Indirect jump
L42:
.debug
	.dw '.stabn 0x44,0,249,',0,0
	.dd LM69-_IPM_Trigger_ND120FullPWM
	.dw 0x0d,0x0a
.code
LM69:
	R1=16932	// QImode move
	[29703]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,253,',0,0
	.dd LM70-_IPM_Trigger_ND120FullPWM
	.dw 0x0d,0x0a
.code
LM70:
	pc=L37	// Indirect jump
L43:
.debug
	.dw '.stabn 0x44,0,256,',0,0
	.dd LM71-_IPM_Trigger_ND120FullPWM
	.dw 0x0d,0x0a
.code
LM71:
	R1=16902	// QImode move
	[29703]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,260,',0,0
	.dd LM72-_IPM_Trigger_ND120FullPWM
	.dw 0x0d,0x0a
.code
LM72:
	pc=L37	// Indirect jump
L44:
.debug
	.dw '.stabn 0x44,0,263,',0,0
	.dd LM73-_IPM_Trigger_ND120FullPWM
	.dw 0x0d,0x0a
.code
LM73:
	call _IPM_Trigger_Off	// call without return value
.debug
	.dw '.stabn 0x44,0,264,',0,0
	.dd LM74-_IPM_Trigger_ND120FullPWM
	.dw 0x0d,0x0a
.code
LM74:
	pc=L37	// Indirect jump
L37:
.debug
	.dw '.stabn 0x44,0,266,',0,0
	.dd LM75-_IPM_Trigger_ND120FullPWM
	.dw 0x0d,0x0a
.code
LM75:
.debug
	.dw '.stabn 0x44,0,266,',0,0
	.dd LM76-_IPM_Trigger_ND120FullPWM
	.dw 0x0d,0x0a
.code
LM76:
L36:

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

.debug
	.dw '.stabs "position:p4",160,0,0,4',0x0d,0x0a
.CODE
.debug
	.dw '.stabf ',0,0
	.dd LME5-_IPM_Trigger_ND120FullPWM
	.dw 0x0d,0x0a
.code
LME5:
.code
.debug
	.dw '.stabs "IPM_Trigger_PF120HalfPWM:F19",36,0,0,',0,0,offset _IPM_Trigger_PF120HalfPWM,seg _IPM_Trigger_PF120HalfPWM,0x0d,0x0a
.CODE
.public _IPM_Trigger_PF120HalfPWM
_IPM_Trigger_PF120HalfPWM:	.proc
.debug
	.dw '.stabn 0x44,0,274,',0,0
	.dd LM77-_IPM_Trigger_PF120HalfPWM
	.dw 0x0d,0x0a
.code
LM77:
	// 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,275,',0,0
	.dd LM78-_IPM_Trigger_PF120HalfPWM
	.dw 0x0d,0x0a
.code
LM78:
	R3=[BP]	// QImode move
	R3=[R3]	// QImode move
	R2=R3&7
	R1=R2	// QImode move
	R1=R1-1
	CMP R1,5	// QImode compare
	JNA L57	// QImode GTU
	PC=L55
L57:
	R2=L56	// QImode move
	R1+=R2	// addqi3_r0r
	R2=R1	// QImode move
	R1=[R2]	// QImode move
	pc=R1	// tablejump
.text
L56:
	.dw L52
	.dw L54
	.dw L53
	.dw L50
	.dw L51
	.dw L49
.code
L49:
.debug
	.dw '.stabn 0x44,0,278,',0,0
	.dd LM79-_IPM_Trigger_PF120HalfPWM
	.dw 0x0d,0x0a
.code
LM79:
	R1=16658	// QImode move
	[29703]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,282,',0,0
	.dd LM80-_IPM_Trigger_PF120HalfPWM
	.dw 0x0d,0x0a
.code
LM80:
	pc=L48	// Indirect jump
L50:
.debug
	.dw '.stabn 0x44,0,285,',0,0
	.dd LM81-_IPM_Trigger_PF120HalfPWM
	.dw 0x0d,0x0a
.code
LM81:
	R1=17432	// QImode move
	[29703]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,289,',0,0
	.dd LM82-_IPM_Trigger_PF120HalfPWM
	.dw 0x0d,0x0a
.code
LM82:
	pc=L48	// Indirect jump
L51:
.debug
	.dw '.stabn 0x44,0,292,',0,0
	.dd LM83-_IPM_Trigger_PF120HalfPWM
	.dw 0x0d,0x0a
.code
LM83:
	R1=16905	// QImode move
	[29703]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,296,',0,0
	.dd LM84-_IPM_Trigger_PF120HalfPWM
	.dw 0x0d,0x0a
.code
LM84:
	pc=L48	// Indirect jump
L52:
.debug
	.dw '.stabn 0x44,0,299,',0,0
	.dd LM85-_IPM_Trigger_PF120HalfPWM
	.dw 0x0d,0x0a
.code
LM85:
	R1=16673	// QImode move
	[29703]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,303,',0,0
	.dd LM86-_IPM_Trigger_PF120HalfPWM
	.dw 0x0d,0x0a
.code
LM86:
	pc=L48	// Indirect jump
L53:
.debug
	.dw '.stabn 0x44,0,306,',0,0
	.dd LM87-_IPM_Trigger_PF120HalfPWM
	.dw 0x0d,0x0a
.code
LM87:
	R1=17444	// QImode move
	[29703]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,310,',0,0
	.dd LM88-_IPM_Trigger_PF120HalfPWM
	.dw 0x0d,0x0a
.code
LM88:
	pc=L48	// Indirect jump
L54:
.debug
	.dw '.stabn 0x44,0,313,',0,0
	.dd LM89-_IPM_Trigger_PF120HalfPWM
	.dw 0x0d,0x0a
.code
LM89:
	R1=16902	// QImode move
	[29703]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,317,',0,0
	.dd LM90-_IPM_Trigger_PF120HalfPWM
	.dw 0x0d,0x0a
.code
LM90:
	pc=L48	// Indirect jump
L55:
.debug
	.dw '.stabn 0x44,0,320,',0,0
	.dd LM91-_IPM_Trigger_PF120HalfPWM
	.dw 0x0d,0x0a
.code
LM91:
	call _IPM_Trigger_Off	// call without return value
.debug
	.dw '.stabn 0x44,0,321,',0,0
	.dd LM92-_IPM_Trigger_PF120HalfPWM
	.dw 0x0d,0x0a
.code
LM92:
	pc=L48	// Indirect jump
L48:
.debug
	.dw '.stabn 0x44,0,323,',0,0
	.dd LM93-_IPM_Trigger_PF120HalfPWM
	.dw 0x0d,0x0a
.code
LM93:
.debug
	.dw '.stabn 0x44,0,323,',0,0
	.dd LM94-_IPM_Trigger_PF120HalfPWM
	.dw 0x0d,0x0a
.code
LM94:
L47:

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

.debug
	.dw '.stabs "position:p4",160,0,0,4',0x0d,0x0a
.CODE
.debug
	.dw '.stabf ',0,0
	.dd LME6-_IPM_Trigger_PF120HalfPWM
	.dw 0x0d,0x0a
.code
LME6:
.code
.debug
	.dw '.stabs "IPM_Trigger_NF120HalfPWM:F19",36,0,0,',0,0,offset _IPM_Trigger_NF120HalfPWM,seg _IPM_Trigger_NF120HalfPWM,0x0d,0x0a
.CODE
.public _IPM_Trigger_NF120HalfPWM
_IPM_Trigger_NF120HalfPWM:	.proc
.debug
	.dw '.stabn 0x44,0,330,',0,0
	.dd LM95-_IPM_Trigger_NF120HalfPWM
	.dw 0x0d,0x0a
.code
LM95:
	// 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,331,',0,0
	.dd LM96-_IPM_Trigger_NF120HalfPWM
	.dw 0x0d,0x0a
.code
LM96:
	R3=[BP]	// QImode move
	R3=[R3]	// QImode move
	R2=R3&7
	R1=R2	// QImode move
	R1=R1-1
	CMP R1,5	// QImode compare
	JNA L68	// QImode GTU
	PC=L66
L68:
	R2=L67	// QImode move
	R1+=R2	// addqi3_r0r
	R2=R1	// QImode move
	R1=[R2]	// QImode move
	pc=R1	// tablejump
.text
L67:
	.dw L60
	.dw L62
	.dw L61
	.dw L64
	.dw L65
	.dw L63
.code

⌨️ 快捷键说明

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