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

📄 delay.asm

📁 基于凌阳61开发板
💻 ASM
字号:
// GCC for SUNPLUS u'nSP version 1.0.17
// Command: E:\SUNPLUS\UNSPID~1.1\unSPIDE\cc1.exe C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\ccCmhaaa.i -quiet -dumpbase DELAY.c -mglobal-var-iram -gstabs -o .\Debug/DELAY.asm
// gcc2_compiled.:

.stabs "E:\\SUNPLUS\\unSP IDE 1.16.1\\unSPIDE\\7BLOCKERSTEST/", 0x64, 0, 3, Ltext0
.stabs "E:/SUNPLUS/unSP IDE 1.16.1/unSPIDE/7BLOCKERSTEST/DELAY.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 "DELAY:F19",36,0,0,',0,0,offset _DELAY,seg _DELAY,0x0d,0x0a
.CODE
.public _DELAY
_DELAY:	.proc
.debug
	.dw '.stabn 0x44,0,7,',0,0
	.dd LM1-_DELAY
	.dw 0x0d,0x0a
.code
LM1:
	// 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,8,',0,0
	.dd LM2-_DELAY
	.dw 0x0d,0x0a
.code
LM2:
LBB2:
.debug
	.dw '.stabn 0x44,0,9,',0,0
	.dd LM3-_DELAY
	.dw 0x0d,0x0a
.code
LM3:
L3:
	R3=R1	// QImode move
	R2=[R3]	// QImode move
	CMP R2,0	// QImode test
	JZ L10	// QImode NE
	PC=L5
L10:
	pc=L4	// Indirect jump
L5:
.debug
	.dw '.stabn 0x44,0,11,',0,0
	.dd LM4-_DELAY
	.dw 0x0d,0x0a
.code
LM4:
	R2=0	// QImode move
	[BP]=R2	// QImode move
L6:
	R2=[BP]	// QImode move
	CMP R2,32766	// QImode compare
	JA L11	// QImode LEU
	PC=L9
L11:
	pc=L7	// Indirect jump
L9:
.debug
	.dw '.stabn 0x44,0,13,',0,0
	.dd LM5-_DELAY
	.dw 0x0d,0x0a
.code
LM5:
	R2=1	// QImode move
	[28690]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,11,',0,0
	.dd LM6-_DELAY
	.dw 0x0d,0x0a
.code
LM6:
L8:
	R2=[BP]	// QImode move
	R3=R2+1
	[BP]=R3	// QImode move
	pc=L6	// Indirect jump
L7:
.debug
	.dw '.stabn 0x44,0,15,',0,0
	.dd LM7-_DELAY
	.dw 0x0d,0x0a
.code
LM7:
	R3=R1	// QImode move
	R2=[R3]	// QImode move
	R3=R2+(-1)
	R2=R1	// QImode move
	[R2]=R3	// QImode move
.debug
	.dw '.stabn 0x44,0,16,',0,0
	.dd LM8-_DELAY
	.dw 0x0d,0x0a
.code
LM8:
	pc=L3	// Indirect jump
L4:
.debug
	.dw '.stabn 0x44,0,17,',0,0
	.dd LM9-_DELAY
	.dw 0x0d,0x0a
.code
LM9:
LBE2:
.debug
	.dw '.stabn 0x44,0,17,',0,0
	.dd LM10-_DELAY
	.dw 0x0d,0x0a
.code
LM10:
L2:

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

.debug
	.dw '.stabs "Timers:p4",160,0,0,4',0x0d,0x0a
.CODE
.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB2-_DELAY
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabs "i:4",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabn 0xe0,0,0,',0,0
	.dd LBE2-_DELAY
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabf ',0,0
	.dd LME1-_DELAY
	.dw 0x0d,0x0a
.code
LME1:
.code
.debug
	.dw '.stabs "Delayus:F19",36,0,0,',0,0,offset _Delayus,seg _Delayus,0x0d,0x0a
.CODE
.public _Delayus
_Delayus:	.proc
.debug
	.dw '.stabn 0x44,0,19,',0,0
	.dd LM11-_Delayus
	.dw 0x0d,0x0a
.code
LM11:
	// total=0, vars=0
	// frame_pointer_needed: 1
	push bp to [sp]
	bp=sp+1

	R1=BP+3
.debug
	.dw '.stabn 0x44,0,20,',0,0
	.dd LM12-_Delayus
	.dw 0x0d,0x0a
.code
LM12:
L13:
	R2=R1	// QImode move
	R3=[R2]	// QImode move
	R2=R3+(-1)
	R3=R2	// QImode move
	R2=R1	// QImode move
	[R2]=R3	// QImode move
	CMP R3,0	// QImode test
	JZ L16	// QImode NE
	PC=L15
L16:
	pc=L14	// Indirect jump
L15:
	pc=L13	// Indirect jump
L14:
.debug
	.dw '.stabn 0x44,0,21,',0,0
	.dd LM13-_Delayus
	.dw 0x0d,0x0a
.code
LM13:
.debug
	.dw '.stabn 0x44,0,21,',0,0
	.dd LM14-_Delayus
	.dw 0x0d,0x0a
.code
LM14:
L12:

	pop bp from [sp]
	retf
	.endp	// end of Delayus

.debug
	.dw '.stabs "DelayTimes:p4",160,0,0,3',0x0d,0x0a
.CODE
.debug
	.dw '.stabf ',0,0
	.dd LME2-_Delayus
	.dw 0x0d,0x0a
.code
LME2:
	.end

⌨️ 快捷键说明

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