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

📄 main.asm

📁 该程序基于凌阳单片机做的无线温度遥测系统
💻 ASM
📖 第 1 页 / 共 2 页
字号:
LM27:
L6:
	R1=BP	// QImode move
	R2=BP+5
	R3=BP	// QImode move
	R1=BP+5
	R2=BP	// QImode move
	R3=BP+5
	R4=R3	// QImode move
	R2=[R4]	// QImode move
	R3=R2+1
	R2=R1	// QImode move
	[R2]=R3	// QImode move
	pc=L4	// Indirect jump
L5:
.debug
	.dw '.stabn 0x44,0,51,',0,0
	.dd LM28-_xianshi
	.dw 0x0d,0x0a
.code
LM28:
LBE2:
.debug
	.dw '.stabn 0x44,0,51,',0,0
	.dd LM29-_xianshi
	.dw 0x0d,0x0a
.code
LM29:
L3:

	sp+=15
	pop bp from [sp]
	retf
	.endp	// end of xianshi

.debug
	.dw '.stabs "n:p1",160,0,0,18',0x0d,0x0a
.CODE
.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB2-_xianshi
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabs "q:1",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "b:1",128,0,0,1',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "c:1",128,0,0,2',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "d:1",128,0,0,3',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "i:1",128,0,0,4',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "j:1",128,0,0,5',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "a:21=ar1;0;3;1",128,0,0,6',0x0d,0x0a
.CODE
.debug
	.dw '.stabn 0xe0,0,0,',0,0
	.dd LBE2-_xianshi
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabf ',0,0
	.dd LME2-_xianshi
	.dw 0x0d,0x0a
.code
LME2:
.code
.debug
	.dw '.stabs "delay:F19",36,0,0,',0,0,offset _delay,seg _delay,0x0d,0x0a
.CODE
.public _delay
_delay:	.proc
.debug
	.dw '.stabs "E:/jinsai/fashe1/main.c",0x84,0,0,',0,0,offset Ltext2, seg Ltext2,0x0d,0x0a
.code
.code
Ltext2:
.debug
	.dw '.stabn 0x44,0,15,',0,0
	.dd LM30-_delay
	.dw 0x0d,0x0a
.code
LM30:
	// total=1, vars=1
	// frame_pointer_needed: 1
	push bp to [sp]
	sp-=1
	bp=sp+1

	R1=BP+4
.debug
	.dw '.stabn 0x44,0,16,',0,0
	.dd LM31-_delay
	.dw 0x0d,0x0a
.code
LM31:
LBB3:
.debug
	.dw '.stabn 0x44,0,17,',0,0
	.dd LM32-_delay
	.dw 0x0d,0x0a
.code
LM32:
	R3=R1	// QImode move
	R2=[R3]	// QImode move
	[BP]=R2	// QImode move
L20:
	R2=[BP]	// QImode move
	CMP R2,0	// QImode test
	NSJG L23	//QImode GT
	pc=L21	// Indirect jump
L23:
.debug
	.dw '.stabn 0x44,0,19,',0,0
	.dd LM33-_delay
	.dw 0x0d,0x0a
.code
LM33:
	R2=1	// QImode move
	[28690]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,17,',0,0
	.dd LM34-_delay
	.dw 0x0d,0x0a
.code
LM34:
L22:
	R2=[BP]	// QImode move
	R3=R2+(-1)
	[BP]=R3	// QImode move
	pc=L20	// Indirect jump
L21:
.debug
	.dw '.stabn 0x44,0,21,',0,0
	.dd LM35-_delay
	.dw 0x0d,0x0a
.code
LM35:
LBE3:
.debug
	.dw '.stabn 0x44,0,21,',0,0
	.dd LM36-_delay
	.dw 0x0d,0x0a
.code
LM36:
L19:

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

.debug
	.dw '.stabs "n:p1",160,0,0,4',0x0d,0x0a
.CODE
.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB3-_delay
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabs "i:1",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabn 0xe0,0,0,',0,0
	.dd LBE3-_delay
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabf ',0,0
	.dd LME3-_delay
	.dw 0x0d,0x0a
.code
LME3:
.text
LC0:
	.dw 255
	.dw 255
	.dw 1
	.dw 2
.code
.debug
	.dw '.stabs "main:F1",36,0,0,',0,0,offset _main,seg _main,0x0d,0x0a
.CODE
.public _main
_main:	.proc
.debug
	.dw '.stabn 0x44,0,26,',0,0
	.dd LM37-_main
	.dw 0x0d,0x0a
.code
LM37:
	// total=11, vars=11
	// frame_pointer_needed: 1
	push bp to [sp]
	sp-=11
	bp=sp+1

	R1=BP+14
	[bp+10]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,27,',0,0
	.dd LM38-_main
	.dw 0x0d,0x0a
.code
LM38:
LBB4:
	R1=BP	// QImode move
	R2=LC0	// QImode move
	R3=4	// QImode move
	[SP--]=R3	// QImode move
	[SP--]=R2	// QImode move
	[SP--]=R1	// QImode move
	call __BlockCopy	// call with return value
	SP = SP + 3	//SP
.debug
	.dw '.stabn 0x44,0,28,',0,0
	.dd LM39-_main
	.dw 0x0d,0x0a
.code
LM39:
	R1=BP	// QImode move
	R2=BP+4
	R1=0	// QImode move
	R3=R2	// QImode move
	[R3]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,29,',0,0
	.dd LM40-_main
	.dw 0x0d,0x0a
.code
LM40:
	R1=BP	// QImode move
	R2=BP+5
	R1=0	// QImode move
	R4=R2	// QImode move
	[R4]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,36,',0,0
	.dd LM41-_main
	.dw 0x0d,0x0a
.code
LM41:
	R1=(-1)	// QImode move
	[28675]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,37,',0,0
	.dd LM42-_main
	.dw 0x0d,0x0a
.code
LM42:
	R1=(-1)	// QImode move
	[28674]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,38,',0,0
	.dd LM43-_main
	.dw 0x0d,0x0a
.code
LM43:
	R1=0	// QImode move
	[28672]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,40,',0,0
	.dd LM44-_main
	.dw 0x0d,0x0a
.code
LM44:
	R1=12288	// QImode move
	[28679]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,41,',0,0
	.dd LM45-_main
	.dw 0x0d,0x0a
.code
LM45:
	R1=12288	// QImode move
	[28680]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,44,',0,0
	.dd LM46-_main
	.dw 0x0d,0x0a
.code
LM46:
	R1=[28679]	// QImode move
	R2=R1|1024
	[28679]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,45,',0,0
	.dd LM47-_main
	.dw 0x0d,0x0a
.code
LM47:
	R1=[28680]	// QImode move
	R2=R1|1152
	[28680]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,46,',0,0
	.dd LM48-_main
	.dw 0x0d,0x0a
.code
LM48:
	R1=[28677]	// QImode move
	R2=R1|1024
	[28677]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,48,',0,0
	.dd LM49-_main
	.dw 0x0d,0x0a
.code
LM49:
	R1=0	// QImode move
	[28708]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,49,',0,0
	.dd LM50-_main
	.dw 0x0d,0x0a
.code
LM50:
	R1=5	// QImode move
	[28709]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,51,',0,0
	.dd LM51-_main
	.dw 0x0d,0x0a
.code
LM51:
	R1=0	// QImode move
	[28705]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,52,',0,0
	.dd LM52-_main
	.dw 0x0d,0x0a
.code
LM52:
	R1=192	// QImode move
	[28706]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,54,',0,0
	.dd LM53-_main
	.dw 0x0d,0x0a
.code
LM53:
	R1=BP	// QImode move
	R2=BP+7
	R1=0	// QImode move
	R3=R2	// QImode move
	[R3]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,55,',0,0
	.dd LM54-_main
	.dw 0x0d,0x0a
.code
LM54:
L26:
	pc=L28	// Indirect jump
	pc=L27	// Indirect jump
L28:
.debug
	.dw '.stabn 0x44,0,58,',0,0
	.dd LM55-_main
	.dw 0x0d,0x0a
.code
LM55:
	R1=BP	// QImode move
	R2=BP+6
	R1=0	// QImode move
	R4=R2	// QImode move
	[R4]=R1	// QImode move
L29:
	R1=BP	// QImode move
	R2=BP+6
	R3=R2	// QImode move
	R1=[R3]	// QImode move
	CMP R1,9	// QImode compare
	NSJNG L32	//QImode LE
	pc=L30	// Indirect jump
L32:
.debug
	.dw '.stabn 0x44,0,60,',0,0
	.dd LM56-_main
	.dw 0x0d,0x0a
.code
LM56:
L33:
	R2=[28706]	// QImode move
	R1=R2&64
	CMP R1,0	// QImode test
	NSJNZ L35	//QImode NE
	pc=L34	// Indirect jump
L35:
.debug
	.dw '.stabn 0x44,0,62,',0,0
	.dd LM57-_main
	.dw 0x0d,0x0a
.code
LM57:
	R1=BP	// QImode move
	R2=BP+6
	R4=R2	// QImode move
	R1=[R4]	// QImode move
	[28707]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,63,',0,0
	.dd LM58-_main
	.dw 0x0d,0x0a
.code
LM58:
	pc=L33	// Indirect jump
L34:
.debug
	.dw '.stabn 0x44,0,64,',0,0
	.dd LM59-_main
	.dw 0x0d,0x0a
.code
LM59:
	R1=15000	// QImode move
	[SP--]=R1	// QImode move
	call _delay	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,58,',0,0
	.dd LM60-_main
	.dw 0x0d,0x0a
.code
LM60:
L31:
	R1=BP	// QImode move
	R2=BP+6
	R3=BP	// QImode move
	R1=BP+6
	R2=BP	// QImode move
	R3=BP+6
	R4=R3	// QImode move
	R2=[R4]	// QImode move
	R3=R2+1
	R2=R1	// QImode move
	[R2]=R3	// QImode move
	pc=L29	// Indirect jump
L30:
.debug
	.dw '.stabn 0x44,0,68,',0,0
	.dd LM61-_main
	.dw 0x0d,0x0a
.code
LM61:
	R1=1	// QImode move
	[28690]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,69,',0,0
	.dd LM62-_main
	.dw 0x0d,0x0a
.code
LM62:
	pc=L26	// Indirect jump
L27:
.debug
	.dw '.stabn 0x44,0,70,',0,0
	.dd LM63-_main
	.dw 0x0d,0x0a
.code
LM63:
LBE4:
.debug
	.dw '.stabn 0x44,0,70,',0,0
	.dd LM64-_main
	.dw 0x0d,0x0a
.code
LM64:
L25:

	sp+=11
	pop bp from [sp]
	retf
	.endp	// end of main

.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB4-_main
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabs "shuju:22=ar1;0;3;1",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "shuchu:1",128,0,0,4',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "biaozhi:1",128,0,0,5',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "i:1",128,0,0,6',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "number:1",128,0,0,7',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "data:23=ar1;0;1;1",128,0,0,8',0x0d,0x0a
.CODE
.debug
	.dw '.stabn 0xe0,0,0,',0,0
	.dd LBE4-_main
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabf ',0,0
	.dd LME4-_main
	.dw 0x0d,0x0a
.code
LME4:
.external __BlockCopy
.external __divi1
	.end

⌨️ 快捷键说明

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