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

📄 idctemp.asm

📁 基于凌阳单片机的简单的工业顺序控制
💻 ASM
📖 第 1 页 / 共 3 页
字号:
	[SP--]=R1	// QImode move
	call _F_FlashErase	// call without return value
	SP=SP+1
.debug
	.dw '.stabn 0x44,0,149,',0,0
	.dd LM57-_StoreSD
	.dw 0x0d,0x0a
.code
LM57:
	R1=(-8192)	// QImode move
	[BP]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,150,',0,0
	.dd LM58-_StoreSD
	.dw 0x0d,0x0a
.code
LM58:
	R1=BP	// QImode move
	R2=BP+2
	R1=261	// QImode move
	R3=R2	// QImode move
	[R3]=R1	// QImode move
L52:
	R1=BP	// QImode move
	R2=BP+2
	R4=R2	// QImode move
	R1=[R4]	// QImode move
	CMP R1,265	// QImode compare
	JA L63	// QImode LEU
	PC=L55
L63:
	pc=L53	// Indirect jump
L55:
.debug
	.dw '.stabn 0x44,0,152,',0,0
	.dd LM59-_StoreSD
	.dw 0x0d,0x0a
.code
LM59:
	R1=BP	// QImode move
	R1=BP+3
	[bp+5]=R1	// QImode move
	R1=BP	// QImode move
	R2=BP+2
	R3=R2	// QImode move
	R1=[R3]	// QImode move
	[SP--]=R1	// QImode move
	call _BSR_ExportSDWord	// call with return value
	SP=SP+1
	R4=[bp+5]	// QImode move
	[R4]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,153,',0,0
	.dd LM60-_StoreSD
	.dw 0x0d,0x0a
.code
LM60:
L56:
	R1=BP	// QImode move
	R2=BP+3
	R3=R2	// QImode move
	R1=[R3]	// QImode move
	CMP R1,0	// QImode test
	JZ L64	// QImode NE
	PC=L58
L64:
	pc=L57	// Indirect jump
L58:
.debug
	.dw '.stabn 0x44,0,154,',0,0
	.dd LM61-_StoreSD
	.dw 0x0d,0x0a
.code
LM61:
	R1=BP	// QImode move
	R4=BP+3
	[bp+6]=R4	// QImode move
	R1=BP	// QImode move
	R2=BP+2
	R3=R2	// QImode move
	R1=[R3]	// QImode move
	[SP--]=R1	// QImode move
	call _BSR_ExportSDWord	// call with return value
	SP=SP+1
	R4=[bp+6]	// QImode move
	[R4]=R1	// QImode move
	pc=L56	// Indirect jump
L57:
.debug
	.dw '.stabn 0x44,0,155,',0,0
	.dd LM62-_StoreSD
	.dw 0x0d,0x0a
.code
LM62:
	R1=BP	// QImode move
	R2=BP+1
	R1=0	// QImode move
	R3=R2	// QImode move
	[R3]=R1	// QImode move
L59:
	R1=BP	// QImode move
	R2=BP+1
	R4=R2	// QImode move
	R1=[R4]	// QImode move
	CMP R1,99	// QImode compare
	JA L65	// QImode LEU
	PC=L62
L65:
	pc=L54	// Indirect jump
L62:
.debug
	.dw '.stabn 0x44,0,157,',0,0
	.dd LM63-_StoreSD
	.dw 0x0d,0x0a
.code
LM63:
	R1=BP	// QImode move
	R2=BP+1
	R1=_BSR_SDModel	// QImode move
	R3=R2	// QImode move
	R2=[R3]	// QImode move
	R1+=R2	// addqi3_r0r
	R4=R1	// QImode move
	R2=[R4]	// QImode move
	[SP--]=R2	// QImode move
	R1=[BP]	// QImode move
	[SP--]=R1	// QImode move
	call _F_FlashWrite1Word	// call without return value
	SP=SP+2
.debug
	.dw '.stabn 0x44,0,158,',0,0
	.dd LM64-_StoreSD
	.dw 0x0d,0x0a
.code
LM64:
	R1=[BP]	// QImode move
	R2=R1+1
	[BP]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,155,',0,0
	.dd LM65-_StoreSD
	.dw 0x0d,0x0a
.code
LM65:
L61:
	R1=BP	// QImode move
	R2=BP+1
	R3=BP	// QImode move
	R1=BP+1
	R2=BP	// QImode move
	R3=BP+1
	R4=R3	// QImode move
	R2=[R4]	// QImode move
	R3=R2+1
	R2=R1	// QImode move
	[R2]=R3	// QImode move
	pc=L59	// Indirect jump
L60:
.debug
	.dw '.stabn 0x44,0,150,',0,0
	.dd LM66-_StoreSD
	.dw 0x0d,0x0a
.code
LM66:
L54:
	R1=BP	// QImode move
	R2=BP+2
	R3=BP	// QImode move
	R1=BP+2
	R2=BP	// QImode move
	R3=BP+2
	R4=R3	// QImode move
	R2=[R4]	// QImode move
	R3=R2+1
	R2=R1	// QImode move
	[R2]=R3	// QImode move
	pc=L52	// Indirect jump
L53:
.debug
	.dw '.stabn 0x44,0,161,',0,0
	.dd LM67-_StoreSD
	.dw 0x0d,0x0a
.code
LM67:
LBE6:
.debug
	.dw '.stabn 0x44,0,161,',0,0
	.dd LM68-_StoreSD
	.dw 0x0d,0x0a
.code
LM68:
L51:

	sp+=7
	pop bp from [sp]
	retf
	.endp	// end of StoreSD

.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB6-_StoreSD
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabs "ulAddr:4",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "i:4",128,0,0,1',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "commandID:4",128,0,0,2',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "g_Ret:4",128,0,0,3',0x0d,0x0a
.CODE
.debug
	.dw '.stabn 0xe0,0,0,',0,0
	.dd LBE6-_StoreSD
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabf ',0,0
	.dd LME5-_StoreSD
	.dw 0x0d,0x0a
.code
LME5:
.code
.debug
	.dw '.stabs "LoadSD:F19",36,0,0,',0,0,offset _LoadSD,seg _LoadSD,0x0d,0x0a
.CODE
.public _LoadSD
_LoadSD:	.proc
.debug
	.dw '.stabn 0x44,0,169,',0,0
	.dd LM69-_LoadSD
	.dw 0x0d,0x0a
.code
LM69:
	// total=8, vars=8
	// frame_pointer_needed: 1
	push bp to [sp]
	sp-=8
	bp=sp+1

	R1=BP+11
	[bp+5]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,169,',0,0
	.dd LM70-_LoadSD
	.dw 0x0d,0x0a
.code
LM70:
LBB7:
.debug
	.dw '.stabn 0x44,0,170,',0,0
	.dd LM71-_LoadSD
	.dw 0x0d,0x0a
.code
LM71:
	R1=(-8192)	// QImode move
	[BP]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,173,',0,0
	.dd LM72-_LoadSD
	.dw 0x0d,0x0a
.code
LM72:
	R1=BP	// QImode move
	R2=BP+2
	R1=0	// QImode move
	R3=R2	// QImode move
	[R3]=R1	// QImode move
L67:
	R1=BP	// QImode move
	R2=BP+2
	R4=R2	// QImode move
	R1=[R4]	// QImode move
	CMP R1,4	// QImode compare
	JA L78	// QImode LEU
	PC=L70
L78:
	pc=L68	// Indirect jump
L70:
.debug
	.dw '.stabn 0x44,0,175,',0,0
	.dd LM73-_LoadSD
	.dw 0x0d,0x0a
.code
LM73:
	R1=BP	// QImode move
	R2=BP+1
	R1=0	// QImode move
	R3=R2	// QImode move
	[R3]=R1	// QImode move
L71:
	R1=BP	// QImode move
	R2=BP+1
	R4=R2	// QImode move
	R1=[R4]	// QImode move
	CMP R1,99	// QImode compare
	JA L79	// QImode LEU
	PC=L74
L79:
	pc=L72	// Indirect jump
L74:
.debug
	.dw '.stabn 0x44,0,177,',0,0
	.dd LM74-_LoadSD
	.dw 0x0d,0x0a
.code
LM74:
	R2=BP	// QImode move
	R1=BP+3
	R2=[BP]	// QImode move
	R4=R2	// QImode move
	R3=[R4]	// QImode move
	R2=R1	// QImode move
	[R2]=R3	// QImode move
.debug
	.dw '.stabn 0x44,0,178,',0,0
	.dd LM75-_LoadSD
	.dw 0x0d,0x0a
.code
LM75:
	R1=BP	// QImode move
	R2=BP+1
	R1=_BSR_SDModel	// QImode move
	R3=R2	// QImode move
	R2=[R3]	// QImode move
	R1+=R2	// addqi3_r0r
	R2=BP	// QImode move
	R3=BP+3
	R4=R3	// QImode move
	R2=[R4]	// QImode move
	R3=R1	// QImode move
	[R3]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,179,',0,0
	.dd LM76-_LoadSD
	.dw 0x0d,0x0a
.code
LM76:
	R1=[BP]	// QImode move
	R2=R1+1
	[BP]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,175,',0,0
	.dd LM77-_LoadSD
	.dw 0x0d,0x0a
.code
LM77:
L73:
	R1=BP	// QImode move
	R2=BP+1
	R3=BP	// QImode move
	R1=BP+1
	R2=BP	// QImode move
	R3=BP+1
	R4=R3	// QImode move
	R2=[R4]	// QImode move
	R3=R2+1
	R2=R1	// QImode move
	[R2]=R3	// QImode move
	pc=L71	// Indirect jump
L72:
.debug
	.dw '.stabn 0x44,0,181,',0,0
	.dd LM78-_LoadSD
	.dw 0x0d,0x0a
.code
LM78:
	R1=BP	// QImode move
	R3=BP+4
	[bp+6]=R3	// QImode move
	call _BSR_ImportSDWord	// call with return value
	R4=[bp+6]	// QImode move
	[R4]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,182,',0,0
	.dd LM79-_LoadSD
	.dw 0x0d,0x0a
.code
LM79:
L75:
	R1=BP	// QImode move
	R2=BP+4
	R3=R2	// QImode move
	R1=[R3]	// QImode move
	CMP R1,0	// QImode test
	JZ L80	// QImode NE
	PC=L77
L80:
	pc=L69	// Indirect jump
L77:
.debug
	.dw '.stabn 0x44,0,183,',0,0
	.dd LM80-_LoadSD
	.dw 0x0d,0x0a
.code
LM80:
	R1=BP	// QImode move
	R4=BP+4
	[bp+7]=R4	// QImode move
	call _BSR_ImportSDWord	// call with return value
	R2=[bp+7]	// QImode move
	[R2]=R1	// QImode move
	pc=L75	// Indirect jump
L76:
.debug
	.dw '.stabn 0x44,0,173,',0,0
	.dd LM81-_LoadSD
	.dw 0x0d,0x0a
.code
LM81:
L69:
	R1=BP	// QImode move
	R2=BP+2
	R3=BP	// QImode move
	R1=BP+2
	R2=BP	// QImode move
	R3=BP+2
	R4=R3	// QImode move
	R2=[R4]	// QImode move
	R3=R2+1
	R2=R1	// QImode move
	[R2]=R3	// QImode move
	pc=L67	// Indirect jump
L68:
.debug
	.dw '.stabn 0x44,0,185,',0,0
	.dd LM82-_LoadSD
	.dw 0x0d,0x0a
.code
LM82:
LBE7:
.debug
	.dw '.stabn 0x44,0,185,',0,0
	.dd LM83-_LoadSD
	.dw 0x0d,0x0a
.code
LM83:
L66:

	sp+=8
	pop bp from [sp]
	retf
	.endp	// end of LoadSD

.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB7-_LoadSD
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabs "p:20",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "k:4",128,0,0,1',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "jk:4",128,0,0,2',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "Ret:4",128,0,0,3',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "g_Ret:4",128,0,0,4',0x0d,0x0a
.CODE
.debug
	.dw '.stabn 0xe0,0,0,',0,0
	.dd LBE7-_LoadSD
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabf ',0,0
	.dd LME6-_LoadSD
	.dw 0x0d,0x0a
.code
LME6:
.code
.debug
	.dw '.stabs "GoAhead:F19",36,0,0,',0,0,offset _GoAhead,seg _GoAhead,0x0d,0x0a
.CODE
.public _GoAhead
_GoAhead:	.proc
.debug
	.dw '.stabn 0x44,0,193,',0,0
	.dd LM84-_GoAhead
	.dw 0x0d,0x0a
.code
LM84:
	// 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,195,',0,0
	.dd LM85-_GoAhead
	.dw 0x0d,0x0a
.code
LM85:
LBB8:
	R1=3	// QImode move
	[SP--]=R1	// QImode move
	R1=1	// QImode move
	[SP--]=R1	// QImode move
	call _PlaySnd	// call without return value
	SP=SP+2
.debug
	.dw '.stabn 0x44,0,196,',0,0
	.dd LM86-_GoAhead
	.dw 0x0d,0x0a
.code
LM86:
L82:
	pc=L84	// Indirect jump
	pc=L83	// Indirect jump
L84:
.debug
	.dw '.stabn 0x44,0,198,',0,0
	.dd LM87-_GoAhead
	.dw 0x0d,0x0a
.code
LM87:
LBB9:
	R1=0	// QImode move
	[BP]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,199,',0,0
	.dd LM88-_GoAhead
	.dw 0x0d,0x0a
.code
LM88:
	R2=[BP]	// QImode move
	R1=[BP]	// QImode move
	R2=[BP]	// QImode move
	R4=R2	// QImode move
	R3=[R4]	// QImode move
	R2=R3+1
	R3=R1	// QImode move
	[R3]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,200,',0,0
	.dd LM89-_GoAhead
	.dw 0x0d,0x0a
.code
LM89:
	R1=254	// QImode move
	[28672]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,201,',0,0
	.dd LM90-_GoAhead
	.dw 0x0d,0x0a
.code
LM90:
	call _Delay	// call without return value
.debug
	.dw '.stabn 0x44,0,202,',0,0
	.dd LM91-_GoAhead
	.dw 0x0d,0x0a
.code
LM91:
	call _Delay	// call without return value
.debug
	.dw '.stabn 0x44,0,203,',0,0
	.dd LM92-_GoAhead
	.dw 0x0d,0x0a
.code
LM92:
	R2=[BP]	// QImode move
	R1=[BP]	// QImode move
	R2=[BP]	// QImode move
	R4=R2	// QImode move
	R3=[R4]	// QImode move
	R2=R3+1
	R3=R1	// QImode move
	[R3]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,204,',0,0
	.dd LM93-_GoAhead
	.dw 0x0d,0x0a
.code
LM93:
	R1=253	// QImode move
	[28672]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,205,',0,0
	.dd LM94-_GoAhead
	.dw 0x0d,0x0a
.code
LM94:
	call _Delay	// call without return value
.debug
	.dw '.stabn 0x44,0,206,',0,0
	.dd LM95-_GoAhead
	.dw 0x0d,0x0a
.code
LM95:
	call _Delay	// call without return value
.debug
	.dw '.stabn 0x44,0,207,',0,0
	.dd LM96-_GoAhead
	.dw 0x0d,0x0a
.code
LM96:
	R2=[BP]	// QImode move
	R1=[BP]	// QImode move
	R2=[BP]	// QImode move
	R4=R2	// QImode move
	R3=[R4]	// QImode move
	R2=R3+1
	R3=R1	// QImode move
	[R3]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,208,',0,0
	.dd LM97-_GoAhead
	.dw 0x0d,0x0a
.code
LM97:
	R1=251	// QImode move
	[28672]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,209,',0,0
	.dd LM98-_GoAhead
	.dw 0x0d,0x0a
.code
LM98:
	call _Delay	// call without return value
.debug
	.dw '.stabn 0x44,0,210,',0,0
	.dd LM99-_GoAhead
	.dw 0x0d,0x0a
.code
LM99:
	call _Delay	// call without return value
.debug
	.dw '.stabn 0x44,0,211,',0,0
	.dd LM100-_GoAhead
	.dw 0x0d,0x0a
.code
LM100:
	R2=[BP]	// QImode move
	R1=[BP]	// QImode move
	R2=[BP]	// QImode move
	R4=R2	// QImode move
	R3=[R4]	// QImode move
	R2=R3+1
	R3=R1	// QImode move
	[R3]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,212,',0,0
	.dd LM101-_GoAhead
	.dw 0x0d,0x0a
.code
LM101:
	R1=247	// QImode move
	[28672]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,213,',0,0
	.dd LM102-_GoAhead
	.dw 0x0d,0x0a
.code
LM102:
	call _Delay	// call without return value
.debug
	.dw '.stabn 0x44,0,214,',0,0
	.dd LM103-_GoAhead
	.dw 0x0d,0x0a
.code
LM103:
	call _Delay	// call without return value
.debug
	.dw '.stabn 0x44,0,215,',0,0
	.dd LM104-_GoAhead
	.dw 0x0d,0x0a
.code
LM104:
	R2=[BP]	// QImode move
	R1=[BP]	// QImode move
	R2=[BP]	// QImode move
	R4=R2	// QImode move
	R3=[R4]	// QImode move
	R2=R3+1
	R3=R1	// QImode move
	[R3]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,216,',0,0
	.dd LM105-_GoAhead
	.dw 0x0d,0x0a
.code
LM105:
	R1=239	// QImode move
	[28672]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,217,',0,0
	.dd LM106-_GoAhead
	.dw 0x0d,0x0a
.code
LM106:
	call _Delay	// call without return value
.debug
	.dw '.stabn 0x44,0,218,',0,0
	.dd LM107-_GoAhead
	.dw 0x0d,0x0a
.code
LM107:
	call _Delay	// call without return value
.debug
	.dw '.stabn 0x44,0,219,',0,0
	.dd LM108-_GoAhead
	.dw 0x0d,0x0a
.code
LM108:
	R2=[BP]	// QImode move
	R1=[BP]	// QImode move
	R2=[BP]	// QImode move
	R4=R2	// QImode move
	R3=[R4]	// QImode move
	R2=R3+1
	R3=R1	// QImode move
	[R3]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,220,',0,0
	.dd LM109-_GoAhead
	.dw 0x0d,0x0a
.code
LM109:
	R1=223	// QImode move
	[28672]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,221,',0,0
	.dd LM110-_GoAhead
	.dw 0x0d,0x0a
.code
LM110:
	call _Delay	// call without return value
.debug
	.dw '.stabn 0x44,0,222,',0,0
	.dd LM111-_GoAhead
	.dw 0x0d,0x0a
.code
LM111:
	call _Delay	// call without return value
.debug
	.dw '.stabn 0x44,0,223,',0,0
	.dd LM112-_GoAhead
	.dw 0x0d,0x0a
.code
LM112:
	R2=[BP]	// QImode move
	R1=[BP]	// QImode move
	R2=[BP]	// QImode move
	R4=R2	// QImode move
	R3=[R4]	// QImode move
	R2=R3+1
	R3=R1	// QImode move
	[R3]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,224,',0,0
	.dd LM113-_GoAhead
	.dw 0x0d,0x0a
.code
LM113:
	R1=191	// QImode move
	[28672]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,225,',0,0
	.dd LM114-_GoAhead
	.dw 0x0d,0x0a
.code
LM114:
	call _Delay	// call without return value
.debug
	.dw '.stabn 0x44,0,226,',0,0
	.dd LM115-_GoAhead
	.dw 0x0d,0x0a
.code
LM115:
	call _Delay	// call without return value
.debug
	.dw '.stabn 0x44,0,227,',0,0
	.dd LM116-_GoAhead
	.dw 0x0d,0x0a
.code
LM116:
LBE9:
	pc=L82	// Indirect jump
L83:
.debug
	.dw '.stabn 0x44,0,228,',0,0
	.dd LM117-_GoAhead
	.dw 0x0d,0x0a
.code
LM117:
LBE8:
.debug
	.dw '.stabn 0x44,0,228,',0,0
	.dd LM118-_GoAhead
	.dw 0x0d,0x0a
.code
LM118:
L81:

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

.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB8-_GoAhead
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB9-_GoAhead
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabs "rock:20",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabn 0xe0,0,0,',0,0
	.dd LBE9-_GoAhead
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabn 0xe0,0,0,',0,0
	.dd LBE8-_GoAhead
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabf ',0,0
	.dd LME7-_GoAhead
	.dw 0x0d,0x0a
.code
LME7:
.code
.debug
	.dw '.stabs "Stop:F19",36,0,0,',0,0,offset _Stop,seg _Stop,0x0d,0x0a
.CODE
.public _Stop
_Stop:	.proc
.debug
	.dw '.stabn 0x44,0,236,',0,0
	.dd LM119-_Stop
	.dw 0x0d,0x0a
.code
LM119:
	// 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,237,',0,0
	.dd LM120-_Stop

⌨️ 快捷键说明

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