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

📄 gnmk.asm

📁 基于spce061a电压表
💻 ASM
📖 第 1 页 / 共 3 页
字号:
	.dw '.stabn 0x44,0,83,',0,0
	.dd LM67-_turnmath
	.dw 0x0d,0x0a
.code
LM67:
L30:

	sp+=25
	pop bp from [sp]
	retf
	.endp	// end of turnmath

.debug
	.dw '.stabs "m:p11",160,0,0,28',0x0d,0x0a
.CODE
.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB4-_turnmath
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabs "x:11",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "c:11",128,0,0,1',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "n:22=ar1;0;9;4",128,0,0,2',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "i:4",128,0,0,12',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "add:4",128,0,0,13',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "t:4",128,0,0,14',0x0d,0x0a
.CODE
.debug
	.dw '.stabn 0xe0,0,0,',0,0
	.dd LBE4-_turnmath
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabf ',0,0
	.dd LME5-_turnmath
	.dw 0x0d,0x0a
.code
LME5:
.code
.debug
	.dw '.stabs "ad:F11",36,0,0,',0,0,offset _ad,seg _ad,0x0d,0x0a
.CODE
.public _ad
_ad:	.proc
.debug
	.dw '.stabn 0x44,0,86,',0,0
	.dd LM68-_ad
	.dw 0x0d,0x0a
.code
LM68:
	// 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,87,',0,0
	.dd LM69-_ad
	.dw 0x0d,0x0a
.code
LM69:
LBB5:
	R1=0	// QImode move
	[BP]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,88,',0,0
	.dd LM70-_ad
	.dw 0x0d,0x0a
.code
LM70:
	R1=1	// QImode move
	[28715]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,89,',0,0
	.dd LM71-_ad
	.dw 0x0d,0x0a
.code
LM71:
	R1=[28693]	// QImode move
	R2=R1|1
	[28693]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,90,',0,0
	.dd LM72-_ad
	.dw 0x0d,0x0a
.code
LM72:
	R1=2	// QImode move
	[SP--]=R1	// QImode move
	call _Delay	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,91,',0,0
	.dd LM73-_ad
	.dw 0x0d,0x0a
.code
LM73:
L42:
	R2=[28715]	// QImode move
	R1=R2&(-32768)
	CMP R1,0	// QImode test
	NSJZ L44	//QImode EQ
	pc=L43	// Indirect jump
L44:
	pc=L42	// Indirect jump
L43:
.debug
	.dw '.stabn 0x44,0,92,',0,0
	.dd LM74-_ad
	.dw 0x0d,0x0a
.code
LM74:
	R1=[28716]	// QImode move
	[BP]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,93,',0,0
	.dd LM75-_ad
	.dw 0x0d,0x0a
.code
LM75:
	R2=[BP]	// QImode move
	R1=R2	// QImode move
	pc=L41	// Indirect jump
.debug
	.dw '.stabn 0x44,0,94,',0,0
	.dd LM76-_ad
	.dw 0x0d,0x0a
.code
LM76:
LBE5:
.debug
	.dw '.stabn 0x44,0,94,',0,0
	.dd LM77-_ad
	.dw 0x0d,0x0a
.code
LM77:
L41:

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

.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB5-_ad
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabs "ADValue:11",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabn 0xe0,0,0,',0,0
	.dd LBE5-_ad
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabf ',0,0
	.dd LME6-_ad
	.dw 0x0d,0x0a
.code
LME6:
.code
.debug
	.dw '.stabs "main:F19",36,0,0,',0,0,offset _main,seg _main,0x0d,0x0a
.CODE
.public _main
_main:	.proc
.debug
	.dw '.stabn 0x44,0,97,',0,0
	.dd LM78-_main
	.dw 0x0d,0x0a
.code
LM78:
	// total=32, vars=32
	// frame_pointer_needed: 1
	push bp to [sp]
	sp-=32
	bp=sp+1

	R1=BP+35
	[bp+28]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,98,',0,0
	.dd LM79-_main
	.dw 0x0d,0x0a
.code
LM79:
LBB6:
.debug
	.dw '.stabn 0x44,0,99,',0,0
	.dd LM80-_main
	.dw 0x0d,0x0a
.code
LM80:
	R1=BP	// QImode move
	R2=BP+21
	R1=0	// QImode move
	R3=R2	// QImode move
	[R3]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,101,',0,0
	.dd LM81-_main
	.dw 0x0d,0x0a
.code
LM81:
	R1=2047	// QImode move
	[BP]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,102,',0,0
	.dd LM82-_main
	.dw 0x0d,0x0a
.code
LM82:
	R1=0	// QImode move
	[28674]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,103,',0,0
	.dd LM83-_main
	.dw 0x0d,0x0a
.code
LM83:
	R1=1	// QImode move
	[28675]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,104,',0,0
	.dd LM84-_main
	.dw 0x0d,0x0a
.code
LM84:
	R1=[BP]	// QImode move
	[28679]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,105,',0,0
	.dd LM85-_main
	.dw 0x0d,0x0a
.code
LM85:
	R1=[BP]	// QImode move
	[28680]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,106,',0,0
	.dd LM86-_main
	.dw 0x0d,0x0a
.code
LM86:
	R1=56	// QImode move
	[SP--]=R1	// QImode move
	call _write_com	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,107,',0,0
	.dd LM87-_main
	.dw 0x0d,0x0a
.code
LM87:
	R1=1	// QImode move
	[SP--]=R1	// QImode move
	call _Delay	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,108,',0,0
	.dd LM88-_main
	.dw 0x0d,0x0a
.code
LM88:
	R1=1	// QImode move
	[SP--]=R1	// QImode move
	call _write_com	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,109,',0,0
	.dd LM89-_main
	.dw 0x0d,0x0a
.code
LM89:
	R1=1	// QImode move
	[SP--]=R1	// QImode move
	call _Delay	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,110,',0,0
	.dd LM90-_main
	.dw 0x0d,0x0a
.code
LM90:
	R1=12	// QImode move
	[SP--]=R1	// QImode move
	call _write_com	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,111,',0,0
	.dd LM91-_main
	.dw 0x0d,0x0a
.code
LM91:
	R1=1	// QImode move
	[SP--]=R1	// QImode move
	call _Delay	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,112,',0,0
	.dd LM92-_main
	.dw 0x0d,0x0a
.code
LM92:
	R1=6	// QImode move
	[SP--]=R1	// QImode move
	call _write_com	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,113,',0,0
	.dd LM93-_main
	.dw 0x0d,0x0a
.code
LM93:
	R1=1	// QImode move
	[SP--]=R1	// QImode move
	call _Delay	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,114,',0,0
	.dd LM94-_main
	.dw 0x0d,0x0a
.code
LM94:
	R1=128	// QImode move
	[SP--]=R1	// QImode move
	call _write_com	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,115,',0,0
	.dd LM95-_main
	.dw 0x0d,0x0a
.code
LM95:
L47:
	pc=L49	// Indirect jump
	pc=L48	// Indirect jump
L49:
.debug
	.dw '.stabn 0x44,0,118,',0,0
	.dd LM96-_main
	.dw 0x0d,0x0a
.code
LM96:
	R1=BP	// QImode move
	R4=BP+21
	[bp+29]=R4	// QImode move
	call _ad	// call with return value
	R2=[bp+29]	// QImode move
	[R2]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,119,',0,0
	.dd LM97-_main
	.dw 0x0d,0x0a
.code
LM97:
	R1=BP	// QImode move
	R3=BP+26
	[bp+30]=R3	// QImode move
	R1=BP	// QImode move
	R2=BP+21
	R4=R2	// QImode move
	R1=[R4]	// QImode move
	[SP--]=R1	// QImode move
	call _turnmath	// call with return value
	SP = SP + 1	//SP
	R3=R1
	R4=0
	push R3,R4 to [sp]	// pushhi
	call __cvi2f2	// call with return value
	SP = SP + 2	//SP
	R3=[bp+30]	// QImode move
	[R3++]=R1	// [RD]=RS HFmode, RD!=RS+1
	[R3--]=R2
.debug
	.dw '.stabn 0x44,0,120,',0,0
	.dd LM98-_main
	.dw 0x0d,0x0a
.code
LM98:
	R1=BP	// QImode move
	R4=BP+24
	[bp+31]=R4	// QImode move
	R1=BP	// QImode move
	R3=BP+26
	R4=R3	// QImode move
	R1=[R4++]	// RD=[RS] HFmode, RD!=RS
	R2=[R4--]
	R3=49152	// HFmode immediate to register move
	R4=17535
	push R3,R4 to [sp]	// pushhf
	push R1,R2 to [sp]	// pushhf
	call __divf2	// call with return value
	SP = SP + 4	//SP
	R3=13107	// HFmode immediate to register move
	R4=16467
	push R3,R4 to [sp]	// pushhf
	push R1,R2 to [sp]	// pushhf
	call __mulf2	// call with return value
	SP = SP + 4	//SP
	R3=[bp+31]	// QImode move
	[R3++]=R1	// [RD]=RS HFmode, RD!=RS+1
	[R3--]=R2
.debug
	.dw '.stabn 0x44,0,121,',0,0
	.dd LM99-_main
	.dw 0x0d,0x0a
.code
LM99:
	R1=BP+1
	[SP--]=R1	// QImode move
	R1=BP	// QImode move
	R2=BP+24
	R1=R2	// QImode move
	R3=[R1++]	// RD=[RS] HFmode, RD!=RS
	R4=[R1--]
	push R3,R4 to [sp]	// pushhf
	call _F2S	// call with return value
	SP = SP + 3	//SP
.debug
	.dw '.stabn 0x44,0,122,',0,0
	.dd LM100-_main
	.dw 0x0d,0x0a
.code
LM100:
	R1=BP	// QImode move
	R2=BP+22
	R1=0	// QImode move
	R3=R2	// QImode move
	[R3]=R1	// QImode move
L50:
	R1=BP	// QImode move
	R2=BP+22
	R4=R2	// QImode move
	R1=[R4]	// QImode move
	CMP R1,7	// QImode compare
	NSJNA L53	//QImode LEU
	pc=L51	// Indirect jump
L53:
.debug
	.dw '.stabn 0x44,0,124,',0,0
	.dd LM101-_main
	.dw 0x0d,0x0a
.code
LM101:
	R2=BP	// QImode move
	R1=BP+1
	R2=BP	// QImode move
	R3=BP+22
	R4=R3	// QImode move
	R2=[R4]	// QImode move
	R1 = R1 + R2	//addqi3
	R3=R1	// QImode move
	R2=[R3]	// QImode move
	[SP--]=R2	// QImode move
	call _write_data	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,125,',0,0
	.dd LM102-_main
	.dw 0x0d,0x0a
.code
LM102:
	R1=1	// QImode move
	[SP--]=R1	// QImode move
	call _Delay	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,122,',0,0
	.dd LM103-_main
	.dw 0x0d,0x0a
.code
LM103:
L52:
	R1=BP	// QImode move
	R2=BP+22
	R3=BP	// QImode move
	R1=BP+22
	R2=BP	// QImode move
	R3=BP+22
	R4=R3	// QImode move
	R2=[R4]	// QImode move
	R3=R2+1
	R2=R1	// QImode move
	[R2]=R3	// QImode move
	pc=L50	// Indirect jump
L51:
.debug
	.dw '.stabn 0x44,0,127,',0,0
	.dd LM104-_main
	.dw 0x0d,0x0a
.code
LM104:
	R1=5000	// QImode move
	[SP--]=R1	// QImode move
	call _Delay	// call without return value
	SP = SP + 1	//SP
.debug
	.dw '.stabn 0x44,0,128,',0,0
	.dd LM105-_main
	.dw 0x0d,0x0a
.code
LM105:
	pc=L47	// Indirect jump
L48:
.debug
	.dw '.stabn 0x44,0,129,',0,0
	.dd LM106-_main
	.dw 0x0d,0x0a
.code
LM106:
LBE6:
.debug
	.dw '.stabn 0x44,0,129,',0,0
	.dd LM107-_main
	.dw 0x0d,0x0a
.code
LM107:
L46:

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

.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB6-_main
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabs "r1:11",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "f:23=ar1;0;19;11",128,0,0,1',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "r:4",128,0,0,21',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "n:4",128,0,0,22',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "i:4",128,0,0,23',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "v:12",128,0,0,24',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "c:12",128,0,0,26',0x0d,0x0a
.CODE
.debug
	.dw '.stabn 0xe0,0,0,',0,0
	.dd LBE6-_main
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabf ',0,0
	.dd LME7-_main
	.dw 0x0d,0x0a
.code
LME7:
.external __mulf2
.external __divf2
.external __cvi2f2
.external __subf2
.external __cvi1f2
.external __cvf2i1
.external __divi1
.external __modi1
	.end

⌨️ 快捷键说明

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