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

📄 main.asm

📁 凌阳单片机的自检程序 包括io检测ad检测睡眠检测等
💻 ASM
📖 第 1 页 / 共 2 页
字号:
// GCC for SUNPLUS u'nSP version 1.0.10-10
// Command: D:\PROGRA~1\Sunplus\UNSPID~3\unSPIDE\cc1.exe C:\DOCUME~1\张向艳\LOCALS~1\Temp\ccOwaaaa.i -quiet -dumpbase main.c -gstabs -o .\Debug/main.asm
// gcc2_compiled.:

.stabs "F:\\刻录光盘\\EVB061Test-KEY/", 0x64, 0, 3, Ltext0
.stabs "F:/縗\314耚\274筡\342臷\314/EVB061Test-KEY/main.c", 0x64, 0, 3, Ltext0
.code
Ltext0:
.debug
	.dw '.stabs "int:t1=r1;-32768;32767;",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "char:t2=r2;0;127;",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "long int:t3=r3;-2147483648;2147483647;",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "unsigned int:t4=r4;0;65535;",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "long unsigned int:t5=r5;0;4294967295;",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "long long int:t6=r6;-2147483648;2147483647;",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "long long unsigned int:t7=r7;0;4294967295;",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "short int:t8=r8;-32768;32767;",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "short unsigned int:t9=r9;0;65535;",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "signed char:t10=r10;-32768;32767;",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "unsigned char:t11=r11;0;65535;",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "float:t12=r1;2;0;",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "double:t13=r1;2;0;",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "long double:t14=r1;2;0;",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "complex int:t15=s2real:1,0,16;imag:1,16,16;;",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "complex float:t16=r16;2;0;",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "complex double:t17=r17;2;0;",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "complex long double:t18=r18;2;0;",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "void:t19=19",128,0,0,0',0x0d,0x0a
.CODE
.code
.debug
	.dw '.stabs "playS480:F19",36,0,0,',0,0,offset _playS480,seg _playS480,0x0d,0x0a
.CODE
.public _playS480
_playS480:	.proc
.debug
	.dw '.stabn 0x44,0,29,',0,0
	.dd LM1-_playS480
	.dw 0x0d,0x0a
.code
LM1:
	// 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,30,',0,0
	.dd LM2-_playS480
	.dw 0x0d,0x0a
.code
LM2:
LBB2:
.debug
	.dw '.stabn 0x44,0,31,',0,0
	.dd LM3-_playS480
	.dw 0x0d,0x0a
.code
LM3:
	R1=0	// QImode move
	[BP]=R1	// QImode move
L3:
	R1=[BP]	// QImode move
	CMP R1,0	// QImode test
	JNZ L10	// QImode EQ
	PC=L6
L10:
	pc=L4	// Indirect jump
L6:
.debug
	.dw '.stabn 0x44,0,33,',0,0
	.dd LM4-_playS480
	.dw 0x0d,0x0a
.code
LM4:
LBB3:
	R1=3	// QImode move
	[SP--]=R1	// QImode move
	R1=3	// QImode move
	[SP--]=R1	// QImode move
	R2=[bp+1]	// QImode move
	R1=[R2]	// QImode move
	[SP--]=R1	// QImode move
	call _SACM_S480_Play	// call with return value
	SP=SP+3
.debug
	.dw '.stabn 0x44,0,34,',0,0
	.dd LM5-_playS480
	.dw 0x0d,0x0a
.code
LM5:
L7:
	call _SACM_S480_Status	// call with return value
	R2=R1&1
	CMP R2,0	// QImode test
	JZ L11	// QImode NE
	PC=L9
L11:
	pc=L5	// Indirect jump
L9:
.debug
	.dw '.stabn 0x44,0,35,',0,0
	.dd LM6-_playS480
	.dw 0x0d,0x0a
.code
LM6:
LBB4:
	call _Clear_WatchDog	// call with return value
.debug
	.dw '.stabn 0x44,0,36,',0,0
	.dd LM7-_playS480
	.dw 0x0d,0x0a
.code
LM7:
	call _SACM_S480_ServiceLoop	// call with return value
.debug
	.dw '.stabn 0x44,0,37,',0,0
	.dd LM8-_playS480
	.dw 0x0d,0x0a
.code
LM8:
LBE4:
	pc=L7	// Indirect jump
L8:
.debug
	.dw '.stabn 0x44,0,38,',0,0
	.dd LM9-_playS480
	.dw 0x0d,0x0a
.code
LM9:
LBE3:
.debug
	.dw '.stabn 0x44,0,31,',0,0
	.dd LM10-_playS480
	.dw 0x0d,0x0a
.code
LM10:
L5:
	R1=[BP]	// QImode move
	R2=R1+1
	[BP]=R2	// QImode move
	pc=L3	// Indirect jump
L4:
.debug
	.dw '.stabn 0x44,0,39,',0,0
	.dd LM11-_playS480
	.dw 0x0d,0x0a
.code
LM11:
LBE2:
.debug
	.dw '.stabn 0x44,0,39,',0,0
	.dd LM12-_playS480
	.dw 0x0d,0x0a
.code
LM12:
L2:

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

.debug
	.dw '.stabs "num:p11",160,0,0,5',0x0d,0x0a
.CODE
.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB2-_playS480
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabs "i:4",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB3-_playS480
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB4-_playS480
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabn 0xe0,0,0,',0,0
	.dd LBE4-_playS480
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabn 0xe0,0,0,',0,0
	.dd LBE3-_playS480
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabn 0xe0,0,0,',0,0
	.dd LBE2-_playS480
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabf ',0,0
	.dd LME1-_playS480
	.dw 0x0d,0x0a
.code
LME1:
.code
.debug
	.dw '.stabs "delay3s:F19",36,0,0,',0,0,offset _delay3s,seg _delay3s,0x0d,0x0a
.CODE
.public _delay3s
_delay3s:	.proc
.debug
	.dw '.stabn 0x44,0,42,',0,0
	.dd LM13-_delay3s
	.dw 0x0d,0x0a
.code
LM13:
	// 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,43,',0,0
	.dd LM14-_delay3s
	.dw 0x0d,0x0a
.code
LM14:
LBB5:
	call _RunTime2Hz	// call with return value
.debug
	.dw '.stabn 0x44,0,44,',0,0
	.dd LM15-_delay3s
	.dw 0x0d,0x0a
.code
LM15:
	R1=0	// QImode move
	[_FailTimes]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,45,',0,0
	.dd LM16-_delay3s
	.dw 0x0d,0x0a
.code
LM16:
L13:
	R1=[_INTflag]	// QImode move
	CMP R1,0	// QImode test
	JNZ L16	// QImode EQ
	PC=L15
L16:
	pc=L14	// Indirect jump
L15:
.debug
	.dw '.stabn 0x44,0,47,',0,0
	.dd LM17-_delay3s
	.dw 0x0d,0x0a
.code
LM17:
LBB6:
	call _Clear_WatchDog	// call with return value
.debug
	.dw '.stabn 0x44,0,48,',0,0
	.dd LM18-_delay3s
	.dw 0x0d,0x0a
.code
LM18:
	R1=0	// QImode move
	[_INTflag]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,49,',0,0
	.dd LM19-_delay3s
	.dw 0x0d,0x0a
.code
LM19:
LBE6:
	pc=L13	// Indirect jump
L14:
.debug
	.dw '.stabn 0x44,0,50,',0,0
	.dd LM20-_delay3s
	.dw 0x0d,0x0a
.code
LM20:
	call _OffTime2Hz	// call with return value
.debug
	.dw '.stabn 0x44,0,51,',0,0
	.dd LM21-_delay3s
	.dw 0x0d,0x0a
.code
LM21:
LBE5:
.debug
	.dw '.stabn 0x44,0,51,',0,0
	.dd LM22-_delay3s
	.dw 0x0d,0x0a
.code
LM22:
L12:

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

.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB5-_delay3s
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB6-_delay3s
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabn 0xe0,0,0,',0,0
	.dd LBE6-_delay3s
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabn 0xe0,0,0,',0,0
	.dd LBE5-_delay3s
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabf ',0,0
	.dd LME2-_delay3s
	.dw 0x0d,0x0a
.code
LME2:
.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,58,',0,0
	.dd LM23-_main
	.dw 0x0d,0x0a
.code
LM23:
	// 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,60,',0,0
	.dd LM24-_main
	.dw 0x0d,0x0a
.code
LM24:
LBB7:
	R1=0	// QImode move
	[_FailTimes]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,61,',0,0
	.dd LM25-_main
	.dw 0x0d,0x0a
.code
LM25:
	R1=0	// QImode move
	[_sum]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,62,',0,0
	.dd LM26-_main
	.dw 0x0d,0x0a
.code
LM26:
	R1=0	// QImode move
	[_INTflag]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,63,',0,0
	.dd LM27-_main
	.dw 0x0d,0x0a
.code
LM27:
	call _Clear_WatchDog	// call with return value
.debug
	.dw '.stabn 0x44,0,64,',0,0
	.dd LM28-_main
	.dw 0x0d,0x0a
.code
LM28:
	R1=1	// QImode move
	[SP--]=R1	// QImode move
	call _SACM_S480_Initial	// call with return value
	SP=SP+1
.debug
	.dw '.stabn 0x44,0,66,',0,0
	.dd LM29-_main
	.dw 0x0d,0x0a
.code
LM29:
	R1=0	// QImode move
	[SP--]=R1	// QImode move
	call _playS480	// call without return value

⌨️ 快捷键说明

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