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

📄 isd4004_v08.asm

📁 使用SPCE061A单片机控制ISD4004_16M语音芯片放音
💻 ASM
📖 第 1 页 / 共 3 页
字号:
// GCC for SUNPLUS u'nSP version 1.0.10-10
// Command: C:\PROGRA~1\Sunplus\UNSPID~1\unSPIDE\cc1.exe C:\DOCUME~1\aa\LOCALS~1\Temp\ccOkaaaa.i -quiet -dumpbase ISD4004_V08.c -gstabs -o .\Debug/ISD4004_V08.asm
// gcc2_compiled.:

.stabs "F:\\lihui\\061\\test\\ISD4004_V08/", 0x64, 0, 3, Ltext0
.stabs "F:/lihui/061/test/ISD4004_V08/ISD4004_V08.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,35,',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,36,',0,0
	.dd LM2-_Delay
	.dw 0x0d,0x0a
.code
LM2:
LBB2:
	R2=0	// QImode move
	[BP]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,37,',0,0
	.dd LM3-_Delay
	.dw 0x0d,0x0a
.code
LM3:
	R2=0	// QImode move
	[BP]=R2	// QImode move
L3:
	R2=[BP]	// QImode move
	CMP R2,1799	// QImode compare
	JG L7	// QImode LE
	PC=L6
L7:
	pc=L4	// Indirect jump
L6:
.debug
	.dw '.stabn 0x44,0,39,',0,0
	.dd LM4-_Delay
	.dw 0x0d,0x0a
.code
LM4:
	R2=1	// QImode move
	[28690]=R2	// QImode move
.debug
	.dw '.stabn 0x44,0,37,',0,0
	.dd LM5-_Delay
	.dw 0x0d,0x0a
.code
LM5:
L5:
	R2=[BP]	// QImode move
	R3=R2+1
	[BP]=R3	// QImode move
	pc=L3	// Indirect jump
L4:
.debug
	.dw '.stabn 0x44,0,41,',0,0
	.dd LM6-_Delay
	.dw 0x0d,0x0a
.code
LM6:
LBE2:
.debug
	.dw '.stabn 0x44,0,41,',0,0
	.dd LM7-_Delay
	.dw 0x0d,0x0a
.code
LM7:
L2:

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

.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB2-_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 LBE2-_Delay
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabf ',0,0
	.dd LME1-_Delay
	.dw 0x0d,0x0a
.code
LME1:
.code
.debug
	.dw '.stabs "poweron:F19",36,0,0,',0,0,offset _poweron,seg _poweron,0x0d,0x0a
.CODE
.public _poweron
_poweron:	.proc
.debug
	.dw '.stabn 0x44,0,46,',0,0
	.dd LM8-_poweron
	.dw 0x0d,0x0a
.code
LM8:
	// total=4, vars=4
	// frame_pointer_needed: 1
	push bp to [sp]
	sp-=4
	bp=sp+1

	R1=BP+7
	[bp+3]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,47,',0,0
	.dd LM9-_poweron
	.dw 0x0d,0x0a
.code
LM9:
LBB3:
	R1=0	// QImode move
	[BP]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,48,',0,0
	.dd LM10-_poweron
	.dw 0x0d,0x0a
.code
LM10:
	R1=BP	// QImode move
	R2=BP+1
	R1=0	// QImode move
	R3=R2	// QImode move
	[R3]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,49,',0,0
	.dd LM11-_poweron
	.dw 0x0d,0x0a
.code
LM11:
	R1=BP	// QImode move
	R2=BP+2
	R1=0	// QImode move
	R4=R2	// QImode move
	[R4]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,50,',0,0
	.dd LM12-_poweron
	.dw 0x0d,0x0a
.code
LM12:
	R1=[28679]	// QImode move
	R2=11	// QImode move
	[28679]=R1|R2
.debug
	.dw '.stabn 0x44,0,51,',0,0
	.dd LM13-_poweron
	.dw 0x0d,0x0a
.code
LM13:
	R1=[28680]	// QImode move
	R2=15	// QImode move
	[28680]=R1|R2
.debug
	.dw '.stabn 0x44,0,52,',0,0
	.dd LM14-_poweron
	.dw 0x0d,0x0a
.code
LM14:
	R1=[28677]	// QImode move
	R2=(-16)	// QImode move
	[28677]=R1&R2
.debug
	.dw '.stabn 0x44,0,54,',0,0
	.dd LM15-_poweron
	.dw 0x0d,0x0a
.code
LM15:
	R1=BP	// QImode move
	R2=BP+1
	R1=32	// QImode move
	R3=R2	// QImode move
	[R3]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,55,',0,0
	.dd LM16-_poweron
	.dw 0x0d,0x0a
.code
LM16:
	R1=0	// QImode move
	[BP]=R1	// QImode move
L9:
	R1=[BP]	// QImode move
	CMP R1,7	// QImode compare
	JG L13	// QImode LE
	PC=L12
L13:
	pc=L10	// Indirect jump
L12:
.debug
	.dw '.stabn 0x44,0,58,',0,0
	.dd LM17-_poweron
	.dw 0x0d,0x0a
.code
LM17:
	R1=[28677]	// QImode move
	R2=(-12)	// QImode move
	[28677]=R1&R2
.debug
	.dw '.stabn 0x44,0,59,',0,0
	.dd LM18-_poweron
	.dw 0x0d,0x0a
.code
LM18:
	R2=BP	// QImode move
	R1=BP+2
	R2=BP	// QImode move
	R3=BP+1
	R4=R3	// QImode move
	R2=[R4]	// QImode move
	R3=R2&1
	R2=R1	// QImode move
	[R2]=R3	// QImode move
.debug
	.dw '.stabn 0x44,0,60,',0,0
	.dd LM19-_poweron
	.dw 0x0d,0x0a
.code
LM19:
	R2=BP	// QImode move
	R1=BP+2
	R2=BP	// QImode move
	R3=BP+2
	R4=R3	// QImode move
	R2=[R4]	// QImode move
	R3=R2 lsl 1
	R2=R1	// QImode move
	[R2]=R3	// QImode move
.debug
	.dw '.stabn 0x44,0,61,',0,0
	.dd LM20-_poweron
	.dw 0x0d,0x0a
.code
LM20:
	R1=BP	// QImode move
	R2=BP+2
	R1=[28677]	// QImode move
	R3=R2	// QImode move
	R2=[R3]	// QImode move
	[28677]=R1|R2
.debug
	.dw '.stabn 0x44,0,62,',0,0
	.dd LM21-_poweron
	.dw 0x0d,0x0a
.code
LM21:
	R1=[28677]	// QImode move
	R2=1	// QImode move
	[28677]=R1|R2
.debug
	.dw '.stabn 0x44,0,63,',0,0
	.dd LM22-_poweron
	.dw 0x0d,0x0a
.code
LM22:
	R2=BP	// QImode move
	R1=BP+1
	R2=BP	// QImode move
	R3=BP+1
	R4=R3	// QImode move
	R2=[R4]	// QImode move
	R3=R2 asr 1
	R2=R1	// QImode move
	[R2]=R3	// QImode move
.debug
	.dw '.stabn 0x44,0,55,',0,0
	.dd LM23-_poweron
	.dw 0x0d,0x0a
.code
LM23:
L11:
	R1=[BP]	// QImode move
	R2=R1+1
	[BP]=R2	// QImode move
	pc=L9	// Indirect jump
L10:
.debug
	.dw '.stabn 0x44,0,65,',0,0
	.dd LM24-_poweron
	.dw 0x0d,0x0a
.code
LM24:
	R1=[28677]	// QImode move
	R2=8	// QImode move
	[28677]=R1|R2
.debug
	.dw '.stabn 0x44,0,66,',0,0
	.dd LM25-_poweron
	.dw 0x0d,0x0a
.code
LM25:
	call _Delay	// call without return value
.debug
	.dw '.stabn 0x44,0,67,',0,0
	.dd LM26-_poweron
	.dw 0x0d,0x0a
.code
LM26:
LBE3:
.debug
	.dw '.stabn 0x44,0,67,',0,0
	.dd LM27-_poweron
	.dw 0x0d,0x0a
.code
LM27:
L8:

	sp+=4
	pop bp from [sp]
	retf
	.endp	// end of poweron

.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB3-_poweron
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabs "i:1",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "m:1",128,0,0,1',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "j:1",128,0,0,2',0x0d,0x0a
.CODE
.debug
	.dw '.stabn 0xe0,0,0,',0,0
	.dd LBE3-_poweron
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabf ',0,0
	.dd LME2-_poweron
	.dw 0x0d,0x0a
.code
LME2:
.code
.debug
	.dw '.stabs "powerdown:F19",36,0,0,',0,0,offset _powerdown,seg _powerdown,0x0d,0x0a
.CODE
.public _powerdown
_powerdown:	.proc
.debug
	.dw '.stabn 0x44,0,72,',0,0
	.dd LM28-_powerdown
	.dw 0x0d,0x0a
.code
LM28:
	// total=4, vars=4
	// frame_pointer_needed: 1
	push bp to [sp]
	sp-=4
	bp=sp+1

	R1=BP+7
	[bp+3]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,73,',0,0
	.dd LM29-_powerdown
	.dw 0x0d,0x0a
.code
LM29:
LBB4:
	R1=0	// QImode move
	[BP]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,74,',0,0
	.dd LM30-_powerdown
	.dw 0x0d,0x0a
.code
LM30:
	R1=BP	// QImode move
	R2=BP+1
	R1=0	// QImode move
	R3=R2	// QImode move
	[R3]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,75,',0,0
	.dd LM31-_powerdown
	.dw 0x0d,0x0a
.code
LM31:
	R1=BP	// QImode move
	R2=BP+2
	R1=0	// QImode move
	R4=R2	// QImode move
	[R4]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,77,',0,0
	.dd LM32-_powerdown
	.dw 0x0d,0x0a
.code
LM32:
	R1=BP	// QImode move
	R2=BP+1
	R1=64	// QImode move
	R3=R2	// QImode move
	[R3]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,78,',0,0
	.dd LM33-_powerdown
	.dw 0x0d,0x0a
.code
LM33:
	R1=0	// QImode move
	[BP]=R1	// QImode move
L15:
	R1=[BP]	// QImode move
	CMP R1,7	// QImode compare
	JG L19	// QImode LE
	PC=L18
L19:
	pc=L16	// Indirect jump
L18:
.debug
	.dw '.stabn 0x44,0,81,',0,0
	.dd LM34-_powerdown
	.dw 0x0d,0x0a
.code
LM34:
	R1=[28677]	// QImode move
	R2=(-12)	// QImode move
	[28677]=R1&R2
.debug
	.dw '.stabn 0x44,0,82,',0,0
	.dd LM35-_powerdown
	.dw 0x0d,0x0a
.code
LM35:
	R2=BP	// QImode move
	R1=BP+2
	R2=BP	// QImode move
	R3=BP+1
	R4=R3	// QImode move
	R2=[R4]	// QImode move
	R3=R2&1
	R2=R1	// QImode move
	[R2]=R3	// QImode move
.debug
	.dw '.stabn 0x44,0,83,',0,0
	.dd LM36-_powerdown
	.dw 0x0d,0x0a
.code
LM36:
	R2=BP	// QImode move
	R1=BP+2
	R2=BP	// QImode move
	R3=BP+2
	R4=R3	// QImode move
	R2=[R4]	// QImode move
	R3=R2 lsl 1
	R2=R1	// QImode move
	[R2]=R3	// QImode move
.debug
	.dw '.stabn 0x44,0,84,',0,0
	.dd LM37-_powerdown
	.dw 0x0d,0x0a
.code
LM37:
	R1=BP	// QImode move
	R2=BP+2
	R1=[28677]	// QImode move
	R3=R2	// QImode move
	R2=[R3]	// QImode move
	[28677]=R1|R2
.debug
	.dw '.stabn 0x44,0,85,',0,0
	.dd LM38-_powerdown
	.dw 0x0d,0x0a
.code
LM38:
	R1=[28677]	// QImode move
	R2=1	// QImode move
	[28677]=R1|R2
.debug
	.dw '.stabn 0x44,0,86,',0,0
	.dd LM39-_powerdown
	.dw 0x0d,0x0a
.code
LM39:
	R2=BP	// QImode move
	R1=BP+1
	R2=BP	// QImode move
	R3=BP+1
	R4=R3	// QImode move
	R2=[R4]	// QImode move
	R3=R2 asr 1
	R2=R1	// QImode move
	[R2]=R3	// QImode move
.debug
	.dw '.stabn 0x44,0,78,',0,0
	.dd LM40-_powerdown
	.dw 0x0d,0x0a
.code
LM40:
L17:
	R1=[BP]	// QImode move
	R2=R1+1
	[BP]=R2	// QImode move
	pc=L15	// Indirect jump
L16:
.debug
	.dw '.stabn 0x44,0,88,',0,0
	.dd LM41-_powerdown
	.dw 0x0d,0x0a
.code
LM41:
	R1=[28677]	// QImode move
	R2=8	// QImode move
	[28677]=R1|R2
.debug
	.dw '.stabn 0x44,0,89,',0,0
	.dd LM42-_powerdown
	.dw 0x0d,0x0a
.code
LM42:
	call _Delay	// call without return value
.debug
	.dw '.stabn 0x44,0,90,',0,0
	.dd LM43-_powerdown
	.dw 0x0d,0x0a
.code
LM43:
LBE4:
.debug
	.dw '.stabn 0x44,0,90,',0,0
	.dd LM44-_powerdown
	.dw 0x0d,0x0a
.code
LM44:
L14:

	sp+=4
	pop bp from [sp]
	retf
	.endp	// end of powerdown

.debug
	.dw '.stabn 0xc0,0,0,',0,0
	.dd LBB4-_powerdown
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabs "i:1",128,0,0,0',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "m:1",128,0,0,1',0x0d,0x0a
.CODE
.debug
	.dw '.stabs "j:1",128,0,0,2',0x0d,0x0a
.CODE
.debug
	.dw '.stabn 0xe0,0,0,',0,0
	.dd LBE4-_powerdown
	.dw 0x0d,0x0a
.code
.debug
	.dw '.stabf ',0,0
	.dd LME3-_powerdown
	.dw 0x0d,0x0a
.code
LME3:
.code
.debug
	.dw '.stabs "stop:F19",36,0,0,',0,0,offset _stop,seg _stop,0x0d,0x0a
.CODE
.public _stop
_stop:	.proc
.debug
	.dw '.stabn 0x44,0,95,',0,0
	.dd LM45-_stop
	.dw 0x0d,0x0a
.code
LM45:
	// total=4, vars=4
	// frame_pointer_needed: 1
	push bp to [sp]
	sp-=4
	bp=sp+1

	R1=BP+7
	[bp+3]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,96,',0,0
	.dd LM46-_stop
	.dw 0x0d,0x0a
.code
LM46:
LBB5:
	R1=0	// QImode move
	[BP]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,97,',0,0
	.dd LM47-_stop
	.dw 0x0d,0x0a
.code
LM47:
	R1=BP	// QImode move
	R2=BP+1
	R1=0	// QImode move
	R3=R2	// QImode move
	[R3]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,98,',0,0
	.dd LM48-_stop
	.dw 0x0d,0x0a
.code
LM48:
	R1=BP	// QImode move
	R2=BP+2
	R1=0	// QImode move
	R4=R2	// QImode move
	[R4]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,100,',0,0
	.dd LM49-_stop
	.dw 0x0d,0x0a
.code
LM49:
	R1=BP	// QImode move
	R2=BP+1
	R1=48	// QImode move
	R3=R2	// QImode move
	[R3]=R1	// QImode move
.debug
	.dw '.stabn 0x44,0,101,',0,0
	.dd LM50-_stop
	.dw 0x0d,0x0a
.code
LM50:
	R1=0	// QImode move
	[BP]=R1	// QImode move
L21:
	R1=[BP]	// QImode move
	CMP R1,7	// QImode compare
	JG L25	// QImode LE
	PC=L24
L25:
	pc=L22	// Indirect jump
L24:
.debug
	.dw '.stabn 0x44,0,104,',0,0
	.dd LM51-_stop
	.dw 0x0d,0x0a
.code
LM51:
	R1=[28677]	// QImode move
	R2=(-12)	// QImode move
	[28677]=R1&R2
.debug
	.dw '.stabn 0x44,0,105,',0,0
	.dd LM52-_stop
	.dw 0x0d,0x0a
.code
LM52:
	R2=BP	// QImode move
	R1=BP+2
	R2=BP	// QImode move
	R3=BP+1
	R4=R3	// QImode move
	R2=[R4]	// QImode move
	R3=R2&1
	R2=R1	// QImode move
	[R2]=R3	// QImode move
.debug
	.dw '.stabn 0x44,0,106,',0,0
	.dd LM53-_stop
	.dw 0x0d,0x0a
.code
LM53:
	R2=BP	// QImode move
	R1=BP+2
	R2=BP	// QImode move
	R3=BP+2
	R4=R3	// QImode move
	R2=[R4]	// QImode move
	R3=R2 lsl 1
	R2=R1	// QImode move
	[R2]=R3	// QImode move
.debug

⌨️ 快捷键说明

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