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

📄 fifo.s

📁 君正早期ucos系统(只有早期的才不没有打包成库),MPLAYER,文件系统,图片解码,浏览,电子书,录音,想学ucos,识货的人就下吧 russblock fmradio explore set
💻 S
字号:
.file	1 "fifo.c".section .mdebug.abi32.previous.section	.text.av_fifo_size,"ax",@progbits.align	2.align	5.globl	av_fifo_size.ent	av_fifo_size.type	av_fifo_size, @functionav_fifo_size:.frame	$sp,0,$31		# vars= 0, regs= 0/0, args= 0, gp= 0.mask	0x00000000,0.fmask	0x00000000,0.set	noreorder.set	nomacrolw	$3,8($4)lw	$2,4($4)subu	$5,$3,$2bgez	$5,$L2noplw	$3,0($4)lw	$2,12($4)subu	$2,$2,$3addu	$5,$5,$2$L2:j	$31move	$2,$5.set	macro.set	reorder.end	av_fifo_size.section	.text.av_fifo_drain,"ax",@progbits.align	2.align	5.globl	av_fifo_drain.ent	av_fifo_drain.type	av_fifo_drain, @functionav_fifo_drain:.frame	$sp,0,$31		# vars= 0, regs= 0/0, args= 0, gp= 0.mask	0x00000000,0.fmask	0x00000000,0.set	noreorder.set	nomacrolw	$2,4($4)lw	$6,12($4)addu	$5,$2,$5sltu	$3,$5,$6bne	$3,$0,$L10sw	$5,4($4)lw	$2,0($4)subu	$2,$6,$2subu	$2,$5,$2sw	$2,4($4)$L10:j	$31nop.set	macro.set	reorder.end	av_fifo_drain.section	.text.av_fifo_free,"ax",@progbits.align	2.align	5.globl	av_fifo_free.ent	av_fifo_free.type	av_fifo_free, @functionav_fifo_free:.frame	$sp,0,$31		# vars= 0, regs= 0/0, args= 0, gp= 0.mask	0x00000000,0.fmask	0x00000000,0.set	noreorder.set	nomacroj	av_freelw	$4,0($4).set	macro.set	reorder.end	av_fifo_free.section	.text.av_fifo_init,"ax",@progbits.align	2.align	5.globl	av_fifo_init.ent	av_fifo_init.type	av_fifo_init, @functionav_fifo_init:.frame	$sp,32,$31		# vars= 0, regs= 3/0, args= 16, gp= 0.mask	0x80030000,-8.fmask	0x00000000,0.set	noreorder.set	nomacroaddiu	$sp,$sp,-32sw	$17,20($sp)move	$17,$4move	$4,$5sw	$31,24($sp)sw	$16,16($sp)jal	av_mallocmove	$16,$5move	$3,$2addu	$16,$2,$16sw	$16,12($17)sw	$3,0($17)sw	$3,4($17)sw	$3,8($17)li	$2,-1			# 0xfffffffffffffffflw	$31,24($sp)lw	$17,20($sp)lw	$16,16($sp)movn	$2,$0,$3j	$31addiu	$sp,$sp,32.set	macro.set	reorder.end	av_fifo_init.section	.text.av_fifo_read,"ax",@progbits.align	2.align	5.globl	av_fifo_read.ent	av_fifo_read.type	av_fifo_read, @functionav_fifo_read:.frame	$sp,40,$31		# vars= 0, regs= 5/0, args= 16, gp= 0.mask	0x800f0000,-8.fmask	0x00000000,0addiu	$sp,$sp,-40sw	$18,24($sp)sw	$17,20($sp)sw	$31,32($sp)sw	$19,28($sp)sw	$16,16($sp)lw	$2,8($4)lw	$7,4($4)move	$18,$4subu	$8,$2,$7move	$4,$5.set	noreorder.set	nomacrobltz	$8,$L46move	$17,$6.set	macro.set	reorder$L19:slt	$2,$8,$17.set	noreorder.set	nomacrobne	$2,$0,$L21move	$19,$4.set	macro.set	reorderlw	$3,12($18)subu	$2,$3,$7slt	$3,$2,$17move	$16,$2movz	$16,$17,$3sltu	$4,$16,32.set	noreorder.set	nomacrobne	$4,$0,$L51move	$5,$7.set	macro.set	reorderandi	$2,$19,0x3$L54:.set	noreorder.set	nomacrobne	$2,$0,$L51move	$5,$7.set	macro.set	reorderandi	$2,$7,0x3.set	noreorder.set	nomacrobne	$2,$0,$L52move	$4,$19.set	macro.set	reorderli	$2,-32			# 0xffffffffffffffe0addiu	$4,$19,-4and	$2,$16,$2addu	$6,$4,$2sltu	$3,$4,$6.set	noreorder.set	nomacrobeq	$3,$0,$L28addiu	$5,$7,-4.set	macro.set	reorder$L42:#APP.word	0b01110000101000000000010001010100	#S32LDI XR1,$5,4.word	0b01110000101000000000010010010100	#S32LDI XR2,$5,4.word	0b01110000101000000000010011010100	#S32LDI XR3,$5,4.word	0b01110000101000000000010100010100	#S32LDI XR4,$5,4.word	0b01110000101000000000010101010100	#S32LDI XR5,$5,4.word	0b01110000101000000000010110010100	#S32LDI XR6,$5,4.word	0b01110000101000000000010111010100	#S32LDI XR7,$5,4.word	0b01110000101000000000011000010100	#S32LDI XR8,$5,4.word	0b01110000100000000000010001010101	#S32SDI XR1,$4,4.word	0b01110000100000000000010010010101	#S32SDI XR2,$4,4.word	0b01110000100000000000010011010101	#S32SDI XR3,$4,4.word	0b01110000100000000000010100010101	#S32SDI XR4,$4,4.word	0b01110000100000000000010101010101	#S32SDI XR5,$4,4.word	0b01110000100000000000010110010101	#S32SDI XR6,$4,4.word	0b01110000100000000000010111010101	#S32SDI XR7,$4,4.word	0b01110000100000000000011000010101	#S32SDI XR8,$4,4#NO_APPsltu	$2,$4,$6bne	$2,$0,$L42$L28:andi	$2,$16,0x1caddu	$6,$6,$2sltu	$3,$4,$6.set	noreorder.set	nomacrobeq	$3,$0,$L53andi	$3,$16,0x3.set	macro.set	reorder$L43:#APP.word	0b01110000101000000000010001010100	#S32LDI XR1,$5,4.word	0b01110000100000000000010001010101	#S32SDI XR1,$4,4#NO_APPsltu	$2,$4,$6.set	noreorder.set	nomacrobne	$2,$0,$L43andi	$3,$16,0x3.set	macro.set	reorder$L53:li	$2,2			# 0x2.set	noreorder.set	nomacrobeq	$3,$2,$L34li	$2,3			# 0x3.set	macro.set	reorder.set	noreorder.set	nomacrobeq	$3,$2,$L35li	$2,1			# 0x1.set	macro.set	reorderbeq	$3,$2,$L47$L32:lw	$7,4($18)$L50:lw	$3,12($18)addu	$7,$7,$16sltu	$2,$7,$3.set	noreorder.set	nomacrobne	$2,$0,$L36sw	$7,4($18).set	macro.set	reorderlw	$2,0($18)subu	$2,$3,$2subu	$7,$7,$2sw	$7,4($18)$L36:subu	$17,$17,$16.set	noreorder.set	nomacroblez	$17,$L48addu	$19,$19,$16.set	macro.set	reorderlw	$7,4($18)subu	$2,$3,$7slt	$3,$2,$17move	$16,$2movz	$16,$17,$3sltu	$4,$16,32.set	noreorder.set	nomacrobeq	$4,$0,$L54andi	$2,$19,0x3.set	macro.set	reordermove	$5,$7$L51:move	$4,$19$L52:.set	noreorder.set	nomacrojal	memcpymove	$6,$16.set	macro.set	reorder.set	noreorder.set	nomacroj	$L50lw	$7,4($18).set	macro.set	reorder$L48:lw	$31,32($sp)lw	$19,28($sp)lw	$18,24($sp)lw	$17,20($sp)lw	$16,16($sp)move	$2,$0.set	noreorder.set	nomacroj	$31addiu	$sp,$sp,40.set	macro.set	reorder$L21:lw	$31,32($sp)lw	$19,28($sp)lw	$18,24($sp)lw	$17,20($sp)lw	$16,16($sp)li	$2,-1			# 0xffffffffffffffff.set	noreorder.set	nomacroj	$31addiu	$sp,$sp,40.set	macro.set	reorder$L34:lbu	$2,4($5)sb	$2,4($4)lbu	$3,5($5).set	noreorder.set	nomacroj	$L32sb	$3,5($4).set	macro.set	reorder$L35:lbu	$2,4($5)sb	$2,4($4)lbu	$3,5($5)sb	$3,5($4)lbu	$2,6($5).set	noreorder.set	nomacroj	$L32sb	$2,6($4).set	macro.set	reorder$L46:lw	$3,12($18)lw	$2,0($18)subu	$2,$3,$2.set	noreorder.set	nomacroj	$L19addu	$8,$8,$2.set	macro.set	reorder$L47:lbu	$2,4($5).set	noreorder.set	nomacroj	$L32sb	$2,4($4).set	macro.set	reorder.end	av_fifo_read.section	.text.av_fifo_generic_read,"ax",@progbits.align	2.align	5.globl	av_fifo_generic_read.ent	av_fifo_generic_read.type	av_fifo_generic_read, @functionav_fifo_generic_read:.frame	$sp,40,$31		# vars= 0, regs= 6/0, args= 16, gp= 0.mask	0x801f0000,-4.fmask	0x00000000,0addiu	$sp,$sp,-40sw	$20,32($sp)sw	$19,28($sp)sw	$18,24($sp)sw	$17,20($sp)sw	$31,36($sp)sw	$16,16($sp)lw	$2,8($4)lw	$8,4($4)move	$18,$4subu	$4,$2,$8move	$17,$5move	$20,$6.set	noreorder.set	nomacrobltz	$4,$L86move	$19,$7.set	macro.set	reorder$L56:slt	$2,$4,$17.set	noreorder.set	nomacrobne	$2,$0,$L87lw	$31,36($sp).set	macro.set	reorder.set	noreorder.set	nomacroj	$L58lw	$3,12($18).set	macro.set	reorder$L89:move	$5,$8move	$4,$19.set	noreorder.set	nomacrojal	$20move	$6,$16.set	macro.set	reorder$L63:lw	$8,4($18)lw	$3,12($18)addu	$8,$8,$16sltu	$2,$8,$3.set	noreorder.set	nomacrobne	$2,$0,$L76sw	$8,4($18).set	macro.set	reorderlw	$2,0($18)subu	$2,$3,$2subu	$2,$8,$2sw	$2,4($18)$L76:subu	$17,$17,$16.set	noreorder.set	nomacroblez	$17,$L88lw	$31,36($sp).set	macro.set	reorderlw	$8,4($18)$L58:subu	$3,$3,$8slt	$2,$3,$17move	$16,$3.set	noreorder.set	nomacrobne	$20,$0,$L89movz	$16,$17,$2.set	macro.set	reordersltu	$2,$16,32.set	noreorder.set	nomacrobne	$2,$0,$L64andi	$2,$19,0x3.set	macro.set	reorder.set	noreorder.set	nomacrobne	$2,$0,$L90move	$4,$19.set	macro.set	reorderandi	$2,$8,0x3.set	noreorder.set	nomacrobne	$2,$0,$L91move	$5,$8.set	macro.set	reorderli	$2,-32			# 0xffffffffffffffe0addiu	$4,$19,-4and	$2,$16,$2addu	$6,$4,$2sltu	$3,$4,$6.set	noreorder.set	nomacrobeq	$3,$0,$L68addiu	$5,$8,-4.set	macro.set	reorder$L82:#APP.word	0b01110000101000000000010001010100	#S32LDI XR1,$5,4.word	0b01110000101000000000010010010100	#S32LDI XR2,$5,4.word	0b01110000101000000000010011010100	#S32LDI XR3,$5,4.word	0b01110000101000000000010100010100	#S32LDI XR4,$5,4.word	0b01110000101000000000010101010100	#S32LDI XR5,$5,4.word	0b01110000101000000000010110010100	#S32LDI XR6,$5,4.word	0b01110000101000000000010111010100	#S32LDI XR7,$5,4.word	0b01110000101000000000011000010100	#S32LDI XR8,$5,4.word	0b01110000100000000000010001010101	#S32SDI XR1,$4,4.word	0b01110000100000000000010010010101	#S32SDI XR2,$4,4.word	0b01110000100000000000010011010101	#S32SDI XR3,$4,4.word	0b01110000100000000000010100010101	#S32SDI XR4,$4,4.word	0b01110000100000000000010101010101	#S32SDI XR5,$4,4.word	0b01110000100000000000010110010101	#S32SDI XR6,$4,4.word	0b01110000100000000000010111010101	#S32SDI XR7,$4,4.word	0b01110000100000000000011000010101	#S32SDI XR8,$4,4#NO_APPsltu	$2,$4,$6bne	$2,$0,$L82$L68:andi	$2,$16,0x1caddu	$6,$6,$2sltu	$3,$4,$6.set	noreorder.set	nomacrobeq	$3,$0,$L92andi	$3,$16,0x3.set	macro.set	reorder$L83:#APP.word	0b01110000101000000000010001010100	#S32LDI XR1,$5,4.word	0b01110000100000000000010001010101	#S32SDI XR1,$4,4#NO_APPsltu	$2,$4,$6.set	noreorder.set	nomacrobne	$2,$0,$L83andi	$3,$16,0x3.set	macro.set	reorder$L92:li	$2,2			# 0x2.set	noreorder.set	nomacrobeq	$3,$2,$L74li	$2,3			# 0x3.set	macro.set	reorder.set	noreorder.set	nomacrobeq	$3,$2,$L75li	$2,1			# 0x1.set	macro.set	reorderbne	$3,$2,$L72lbu	$2,4($5)sb	$2,4($4)$L72:.set	noreorder.set	nomacroj	$L63addu	$19,$19,$16.set	macro.set	reorder$L64:move	$4,$19$L90:move	$5,$8$L91:.set	noreorder.set	nomacrojal	memcpymove	$6,$16.set	macro.set	reorder.set	noreorder.set	nomacroj	$L63addu	$19,$19,$16.set	macro.set	reorder$L88:lw	$20,32($sp)lw	$19,28($sp)lw	$18,24($sp)lw	$17,20($sp)lw	$16,16($sp)move	$2,$0.set	noreorder.set	nomacroj	$31addiu	$sp,$sp,40.set	macro.set	reorder$L87:lw	$20,32($sp)lw	$19,28($sp)lw	$18,24($sp)lw	$17,20($sp)lw	$16,16($sp)li	$2,-1			# 0xffffffffffffffff.set	noreorder.set	nomacroj	$31addiu	$sp,$sp,40.set	macro.set	reorder$L86:lw	$3,12($18)lw	$2,0($18)subu	$2,$3,$2.set	noreorder.set	nomacroj	$L56addu	$4,$4,$2.set	macro.set	reorder$L75:lbu	$2,4($5)addu	$19,$19,$16sb	$2,4($4)lbu	$3,5($5)sb	$3,5($4)lbu	$2,6($5).set	noreorder.set	nomacroj	$L63sb	$2,6($4).set	macro.set	reorder$L74:lbu	$2,4($5)addu	$19,$19,$16sb	$2,4($4)lbu	$3,5($5).set	noreorder.set	nomacroj	$L63sb	$3,5($4).set	macro.set	reorder.end	av_fifo_generic_read.section	.text.av_fifo_realloc,"ax",@progbits.align	2.align	5.globl	av_fifo_realloc.ent	av_fifo_realloc.type	av_fifo_realloc, @functionav_fifo_realloc:.frame	$sp,40,$31		# vars= 0, regs= 5/0, args= 16, gp= 0.mask	0x800f0000,-8.fmask	0x00000000,0.set	noreorder.set	nomacroaddiu	$sp,$sp,-40sw	$19,28($sp)sw	$18,24($sp)sw	$31,32($sp)sw	$17,20($sp)sw	$16,16($sp)lw	$6,12($4)lw	$3,0($4)move	$18,$4subu	$6,$6,$3sltu	$2,$6,$5move	$19,$5beq	$2,$0,$L98move	$4,$5lw	$2,4($18)lw	$16,8($18)subu	$16,$16,$2addu	$3,$16,$6slt	$2,$16,0jal	av_mallocmovn	$16,$3,$2move	$7,$2move	$5,$16move	$4,$18move	$6,$0jal	av_fifo_generic_readmove	$17,$2lw	$4,0($18)jal	av_freeaddu	$16,$17,$16addu	$2,$17,$19sw	$17,0($18)sw	$2,12($18)sw	$16,8($18)sw	$17,4($18)$L98:lw	$31,32($sp)lw	$19,28($sp)lw	$18,24($sp)lw	$17,20($sp)lw	$16,16($sp)j	$31addiu	$sp,$sp,40.set	macro.set	reorder.end	av_fifo_realloc.section	.text.av_fifo_write,"ax",@progbits.align	2.align	5.globl	av_fifo_write.ent	av_fifo_write.type	av_fifo_write, @functionav_fifo_write:.frame	$sp,40,$31		# vars= 0, regs= 5/0, args= 16, gp= 0.mask	0x800f0000,-8.fmask	0x00000000,0addiu	$sp,$sp,-40sw	$19,28($sp)sw	$18,24($sp)sw	$17,20($sp)sw	$16,16($sp)sw	$31,32($sp)move	$18,$4move	$19,$5lw	$4,12($4)lw	$5,8($18)move	$17,$6subu	$2,$4,$5slt	$3,$2,$17move	$16,$2movz	$16,$17,$3sltu	$4,$16,32.set	noreorder.set	nomacrobne	$4,$0,$L126move	$4,$5.set	macro.set	reorder$L124:andi	$2,$5,0x3.set	noreorder.set	nomacrobne	$2,$0,$L126move	$4,$5.set	macro.set	reorderandi	$2,$19,0x3.set	noreorder.set	nomacrobne	$2,$0,$L127move	$6,$16.set	macro.set	reorderli	$2,-32			# 0xffffffffffffffe0addiu	$4,$5,-4and	$2,$16,$2addu	$6,$4,$2sltu	$3,$4,$6.set	noreorder.set	nomacrobeq	$3,$0,$L106addiu	$5,$19,-4.set	macro.set	reorder$L119:#APP.word	0b01110000101000000000010001010100	#S32LDI XR1,$5,4.word	0b01110000101000000000010010010100	#S32LDI XR2,$5,4.word	0b01110000101000000000010011010100	#S32LDI XR3,$5,4.word	0b01110000101000000000010100010100	#S32LDI XR4,$5,4.word	0b01110000101000000000010101010100	#S32LDI XR5,$5,4.word	0b01110000101000000000010110010100	#S32LDI XR6,$5,4.word	0b01110000101000000000010111010100	#S32LDI XR7,$5,4.word	0b01110000101000000000011000010100	#S32LDI XR8,$5,4.word	0b01110000100000000000010001010101	#S32SDI XR1,$4,4.word	0b01110000100000000000010010010101	#S32SDI XR2,$4,4.word	0b01110000100000000000010011010101	#S32SDI XR3,$4,4.word	0b01110000100000000000010100010101	#S32SDI XR4,$4,4.word	0b01110000100000000000010101010101	#S32SDI XR5,$4,4.word	0b01110000100000000000010110010101	#S32SDI XR6,$4,4.word	0b01110000100000000000010111010101	#S32SDI XR7,$4,4.word	0b01110000100000000000011000010101	#S32SDI XR8,$4,4#NO_APPsltu	$2,$4,$6bne	$2,$0,$L119$L106:andi	$2,$16,0x1caddu	$6,$6,$2sltu	$3,$4,$6.set	noreorder.set	nomacrobeq	$3,$0,$L128andi	$3,$16,0x3.set	macro.set	reorder$L120:#APP.word	0b01110000101000000000010001010100	#S32LDI XR1,$5,4.word	0b01110000100000000000010001010101	#S32SDI XR1,$4,4#NO_APPsltu	$2,$4,$6.set	noreorder.set	nomacrobne	$2,$0,$L120andi	$3,$16,0x3.set	macro.set	reorder$L128:li	$2,2			# 0x2.set	noreorder.set	nomacrobeq	$3,$2,$L112li	$2,3			# 0x3.set	macro.set	reorder.set	noreorder.set	nomacrobeq	$3,$2,$L113li	$2,1			# 0x1.set	macro.set	reorderbeq	$3,$2,$L123$L110:lw	$2,8($18)$L125:lw	$4,12($18)addu	$2,$2,$16sltu	$3,$2,$4.set	noreorder.set	nomacrobne	$3,$0,$L114sw	$2,8($18).set	macro.set	reorderlw	$2,0($18)sw	$2,8($18)$L114:subu	$17,$17,$16.set	noreorder.set	nomacroblez	$17,$L118addu	$19,$19,$16.set	macro.set	reorderlw	$5,8($18)subu	$2,$4,$5slt	$3,$2,$17move	$16,$2movz	$16,$17,$3sltu	$4,$16,32.set	noreorder.set	nomacrobeq	$4,$0,$L124move	$4,$5.set	macro.set	reorder$L126:move	$6,$16$L127:.set	noreorder.set	nomacrojal	memcpymove	$5,$19.set	macro.set	reorder.set	noreorder.set	nomacroj	$L125lw	$2,8($18).set	macro.set	reorder$L118:lw	$31,32($sp)lw	$19,28($sp)lw	$18,24($sp)lw	$17,20($sp)lw	$16,16($sp).set	noreorder.set	nomacroj	$31addiu	$sp,$sp,40.set	macro.set	reorder$L112:lbu	$2,4($5)sb	$2,4($4)lbu	$3,5($5).set	noreorder.set	nomacroj	$L110sb	$3,5($4).set	macro.set	reorder$L113:lbu	$2,4($5)sb	$2,4($4)lbu	$3,5($5)sb	$3,5($4)lbu	$2,6($5).set	noreorder.set	nomacroj	$L110sb	$2,6($4).set	macro.set	reorder$L123:lbu	$2,4($5).set	noreorder.set	nomacroj	$L110sb	$2,4($4).set	macro.set	reorder.end	av_fifo_write.ident	"GCC: (GNU) 4.1.2"

⌨️ 快捷键说明

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