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

📄 12.asm

📁 该程序是用C编写的
💻 ASM
📖 第 1 页 / 共 2 页
字号:
// GCC for SUNPLUS u'nSP version 1.0.10-10
// Command: F:\PROGRA~1\unSPIDE\cc1.exe C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\ccAfaaaa.i -quiet -dumpbase 12.c -gstabs -o .\Debug/12.asm
// gcc2_compiled.:

.stabs "F:\\Program Files\\unSPIDE\\wannianli/", 0x64, 0, 3, Ltext0
.stabs "F:/Program Files/unSPIDE/wannianli/12.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
// GCC inline ASM start
	.include hardware.inc
// GCC inline ASM end
.code
.debug
	.dw '.stabs "display1:F19",36,0,0,',0,0,offset _display1,seg _display1,0x0d,0x0a
.CODE
.public _display1
_display1:	.proc
.debug
	.dw '.stabn 0x44,0,17,',0,0
	.dd LM1-_display1
	.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,18,',0,0
	.dd LM2-_display1
	.dw 0x0d,0x0a
.code
LM2:
LBB2:
.debug
	.dw '.stabn 0x44,0,19,',0,0
	.dd LM3-_display1
	.dw 0x0d,0x0a
.code
LM3:
L3:
	pc=L5	// Indirect jump
	pc=L4	// Indirect jump
L5:
.debug
	.dw '.stabn 0x44,0,20,',0,0
	.dd LM4-_display1
	.dw 0x0d,0x0a
.code
LM4:
LBB3:
	R1=1	// QImode move
// GCC inline ASM start
	[P_Watchdog_Clear]=R1
// GCC inline ASM end
.debug
	.dw '.stabn 0x44,0,21,',0,0
	.dd LM5-_display1
	.dw 0x0d,0x0a
.code
LM5:
	R1=[_keycode]	// QImode move
	CMP R1,8	// QImode compare
	JZ L9	// QImode NE
	PC=L6
L9:
	R1=0	// QImode move
	[_keycode]=R1	// QImode move
	call _display2	// call with return value
L6:
.debug
	.dw '.stabn 0x44,0,22,',0,0
	.dd LM6-_display1
	.dw 0x0d,0x0a
.code
LM6:
	R1=[_i3]	// QImode move
	CMP R1,1	// QImode compare
	JZ L10	// QImode NE
	PC=L7
L10:
	call _key_change	// call with return value
L7:
.debug
	.dw '.stabn 0x44,0,23,',0,0
	.dd LM7-_display1
	.dw 0x0d,0x0a
.code
LM7:
	R1=[_i5]	// QImode move
	CMP R1,1	// QImode compare
	JZ L11	// QImode NE
	PC=L8
L11:
	call _irq_change	// call with return value
L8:
.debug
	.dw '.stabn 0x44,0,26,',0,0
	.dd LM8-_display1
	.dw 0x0d,0x0a
.code
LM8:
	R1=[_Sec]	// QImode move
	R2=10	// QImode move
	[SP--]=R2	// QImode move
	[SP--]=R1	// QImode move
	call __modi1	// call with return value
	SP=SP+2
	[BP]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,27,',0,0
	.dd LM9-_display1
	.dw 0x0d,0x0a
.code
LM9:
	R1=_Tabel	// QImode move
	R2=[BP]	// QImode move
	R1+=R2	// addqi3_r0r
	R3=R1	// QImode move
	R2=[R3]	// QImode move
	[BP]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,28,',0,0
	.dd LM10-_display1
	.dw 0x0d,0x0a
.code
LM10:
	R1=[BP]	// QImode move
	R2=R1|1792
	[BP]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,29,',0,0
	.dd LM11-_display1
	.dw 0x0d,0x0a
.code
LM11:
	R1=[BP]	// QImode move
// GCC inline ASM start
	[P_IOB_Data]=R1
// GCC inline ASM end
.debug
	.dw '.stabn 0x44,0,30,',0,0
	.dd LM12-_display1
	.dw 0x0d,0x0a
.code
LM12:
	call _Delay1	// call with return value
.debug
	.dw '.stabn 0x44,0,32,',0,0
	.dd LM13-_display1
	.dw 0x0d,0x0a
.code
LM13:
	R1=[_Sec]	// QImode move
	R2=10	// QImode move
	[SP--]=R2	// QImode move
	[SP--]=R1	// QImode move
	call __divi1	// call with return value
	SP=SP+2
	[BP]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,33,',0,0
	.dd LM14-_display1
	.dw 0x0d,0x0a
.code
LM14:
	R1=_Tabel	// QImode move
	R2=[BP]	// QImode move
	R1+=R2	// addqi3_r0r
	R3=R1	// QImode move
	R2=[R3]	// QImode move
	[BP]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,34,',0,0
	.dd LM15-_display1
	.dw 0x0d,0x0a
.code
LM15:
	R1=[BP]	// QImode move
	R2=R1|1536
	[BP]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,35,',0,0
	.dd LM16-_display1
	.dw 0x0d,0x0a
.code
LM16:
	R1=[BP]	// QImode move
// GCC inline ASM start
	[P_IOB_Data]=R1
// GCC inline ASM end
.debug
	.dw '.stabn 0x44,0,36,',0,0
	.dd LM17-_display1
	.dw 0x0d,0x0a
.code
LM17:
	call _Delay1	// call with return value
.debug
	.dw '.stabn 0x44,0,38,',0,0
	.dd LM18-_display1
	.dw 0x0d,0x0a
.code
LM18:
	R1=[_Min]	// QImode move
	R2=10	// QImode move
	[SP--]=R2	// QImode move
	[SP--]=R1	// QImode move
	call __modi1	// call with return value
	SP=SP+2
	[BP]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,39,',0,0
	.dd LM19-_display1
	.dw 0x0d,0x0a
.code
LM19:
	R1=_Tabel	// QImode move
	R2=[BP]	// QImode move
	R1+=R2	// addqi3_r0r
	R3=R1	// QImode move
	R2=[R3]	// QImode move
	[BP]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,40,',0,0
	.dd LM20-_display1
	.dw 0x0d,0x0a
.code
LM20:
	R1=[BP]	// QImode move
	R2=R1|1280
	[BP]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,41,',0,0
	.dd LM21-_display1
	.dw 0x0d,0x0a
.code
LM21:
	R1=[BP]	// QImode move
	R2=R1|128
	[BP]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,43,',0,0
	.dd LM22-_display1
	.dw 0x0d,0x0a
.code
LM22:
	R1=[BP]	// QImode move
// GCC inline ASM start
	[P_IOB_Data]=R1
// GCC inline ASM end
.debug
	.dw '.stabn 0x44,0,44,',0,0
	.dd LM23-_display1
	.dw 0x0d,0x0a
.code
LM23:
	call _Delay1	// call with return value
.debug
	.dw '.stabn 0x44,0,46,',0,0
	.dd LM24-_display1
	.dw 0x0d,0x0a
.code
LM24:
	R1=[_Min]	// QImode move
	R2=10	// QImode move
	[SP--]=R2	// QImode move
	[SP--]=R1	// QImode move
	call __divi1	// call with return value
	SP=SP+2
	[BP]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,47,',0,0
	.dd LM25-_display1
	.dw 0x0d,0x0a
.code
LM25:
	R1=_Tabel	// QImode move
	R2=[BP]	// QImode move
	R1+=R2	// addqi3_r0r
	R3=R1	// QImode move
	R2=[R3]	// QImode move
	[BP]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,48,',0,0
	.dd LM26-_display1
	.dw 0x0d,0x0a
.code
LM26:
	R1=[BP]	// QImode move
	R2=R1|1024
	[BP]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,49,',0,0
	.dd LM27-_display1
	.dw 0x0d,0x0a
.code
LM27:
	R1=[BP]	// QImode move
// GCC inline ASM start
	[P_IOB_Data]=R1
// GCC inline ASM end
.debug
	.dw '.stabn 0x44,0,50,',0,0
	.dd LM28-_display1
	.dw 0x0d,0x0a
.code
LM28:
	call _Delay1	// call with return value
.debug
	.dw '.stabn 0x44,0,52,',0,0
	.dd LM29-_display1
	.dw 0x0d,0x0a
.code
LM29:
	R1=[_Hour]	// QImode move
	R2=10	// QImode move
	[SP--]=R2	// QImode move
	[SP--]=R1	// QImode move
	call __modi1	// call with return value
	SP=SP+2
	[BP]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,53,',0,0
	.dd LM30-_display1
	.dw 0x0d,0x0a
.code
LM30:
	R1=_Tabel	// QImode move
	R2=[BP]	// QImode move
	R1+=R2	// addqi3_r0r
	R3=R1	// QImode move
	R2=[R3]	// QImode move
	[BP]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,54,',0,0
	.dd LM31-_display1
	.dw 0x0d,0x0a
.code
LM31:
	R1=[BP]	// QImode move
	R2=R1|768
	[BP]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,55,',0,0
	.dd LM32-_display1
	.dw 0x0d,0x0a
.code
LM32:
	R1=[BP]	// QImode move
	R2=R1|128
	[BP]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,56,',0,0
	.dd LM33-_display1
	.dw 0x0d,0x0a
.code
LM33:
	R1=[BP]	// QImode move
// GCC inline ASM start
	[P_IOB_Data]=R1
// GCC inline ASM end
.debug
	.dw '.stabn 0x44,0,57,',0,0
	.dd LM34-_display1
	.dw 0x0d,0x0a
.code
LM34:
	call _Delay1	// call with return value
.debug
	.dw '.stabn 0x44,0,59,',0,0
	.dd LM35-_display1
	.dw 0x0d,0x0a
.code
LM35:
	R1=[_Hour]	// QImode move
	R2=10	// QImode move
	[SP--]=R2	// QImode move
	[SP--]=R1	// QImode move
	call __divi1	// call with return value
	SP=SP+2
	[BP]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,60,',0,0
	.dd LM36-_display1
	.dw 0x0d,0x0a
.code
LM36:
	R1=_Tabel	// QImode move
	R2=[BP]	// QImode move
	R1+=R2	// addqi3_r0r
	R3=R1	// QImode move
	R2=[R3]	// QImode move
	[BP]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,61,',0,0
	.dd LM37-_display1
	.dw 0x0d,0x0a
.code
LM37:
	R1=[BP]	// QImode move
	R2=R1|512
	[BP]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,62,',0,0
	.dd LM38-_display1
	.dw 0x0d,0x0a
.code
LM38:
	R1=[BP]	// QImode move
// GCC inline ASM start
	[P_IOB_Data]=R1
// GCC inline ASM end
.debug
	.dw '.stabn 0x44,0,64,',0,0
	.dd LM39-_display1
	.dw 0x0d,0x0a
.code
LM39:
	call _Delay1	// call with return value
.debug
	.dw '.stabn 0x44,0,65,',0,0
	.dd LM40-_display1
	.dw 0x0d,0x0a
.code
LM40:
LBE3:
	pc=L3	// Indirect jump
L4:
.debug
	.dw '.stabn 0x44,0,66,',0,0
	.dd LM41-_display1
	.dw 0x0d,0x0a
.code
LM41:
LBE2:
.debug
	.dw '.stabn 0x44,0,66,',0,0
	.dd LM42-_display1
	.dw 0x0d,0x0a
.code
LM42:
L2:

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

.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB2-_display1
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabs "temp:1",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB3-_display1
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabn 0xe0,0,0,',0,0
	.dd LBE3-_display1
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabn 0xe0,0,0,',0,0
	.dd LBE2-_display1
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabf ',0,0
	.dd LME1-_display1
	.dw 0x0d,0x0a
.code
LME1:
.code
.debug
	.dw '.stabs "display2:F19",36,0,0,',0,0,offset _display2,seg _display2,0x0d,0x0a
.CODE
.public _display2
_display2:	.proc
.debug
	.dw '.stabn 0x44,0,69,',0,0
	.dd LM43-_display2
	.dw 0x0d,0x0a
.code
LM43:
	// total=3, vars=3
	// frame_pointer_needed: 1
	push bp to [sp]
	sp-=3
	bp=sp+1

	R1=BP+6
	[bp+1]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,70,',0,0
	.dd LM44-_display2
	.dw 0x0d,0x0a
.code
LM44:
LBB4:
.debug
	.dw '.stabn 0x44,0,71,',0,0
	.dd LM45-_display2
	.dw 0x0d,0x0a
.code
LM45:
L13:
	pc=L15	// Indirect jump
	pc=L14	// Indirect jump
L15:
.debug
	.dw '.stabn 0x44,0,72,',0,0
	.dd LM46-_display2
	.dw 0x0d,0x0a
.code
LM46:
LBB5:
	R1=1	// QImode move
// GCC inline ASM start
	[P_Watchdog_Clear]=R1
// GCC inline ASM end
.debug
	.dw '.stabn 0x44,0,73,',0,0
	.dd LM47-_display2
	.dw 0x0d,0x0a
.code
LM47:
	R1=[_keycode]	// QImode move
	CMP R1,8	// QImode compare
	JZ L19	// QImode NE
	PC=L16
L19:
	R1=0	// QImode move
	[_keycode]=R1	// QImode move
	call _display1	// call without return value
L16:
.debug
	.dw '.stabn 0x44,0,74,',0,0
	.dd LM48-_display2
	.dw 0x0d,0x0a
.code
LM48:
	R1=[_i3]	// QImode move
	CMP R1,1	// QImode compare
	JZ L20	// QImode NE
	PC=L17
L20:
	call _key_change	// call with return value
L17:
.debug
	.dw '.stabn 0x44,0,75,',0,0
	.dd LM49-_display2
	.dw 0x0d,0x0a
.code
LM49:
	R1=[_i5]	// QImode move
	CMP R1,1	// QImode compare
	JZ L21	// QImode NE
	PC=L18
L21:
	call _irq_change	// call with return value
L18:
.debug
	.dw '.stabn 0x44,0,78,',0,0
	.dd LM50-_display2
	.dw 0x0d,0x0a
.code
LM50:
	R1=[_day]	// QImode move
	R2=10	// QImode move
	[SP--]=R2	// QImode move
	[SP--]=R1	// QImode move
	call __modi1	// call with return value
	SP=SP+2
	[BP]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,79,',0,0
	.dd LM51-_display2
	.dw 0x0d,0x0a
.code
LM51:
	R1=_Tabel	// QImode move
	R2=[BP]	// QImode move
	R1+=R2	// addqi3_r0r
	R3=R1	// QImode move
	R2=[R3]	// QImode move
	[BP]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,80,',0,0
	.dd LM52-_display2
	.dw 0x0d,0x0a
.code
LM52:
	R1=[BP]	// QImode move
	R2=R1|1792
	[BP]=R2	// QImode move
.debug

⌨️ 快捷键说明

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