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

📄 fifo.mid

📁 君正早期ucos系统(只有早期的才不没有打包成库),MPLAYER,文件系统,图片解码,浏览,电子书,录音,想学ucos,识货的人就下吧 russblock fmradio explore set
💻 MID
字号:
	.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	nomacro		lw	$3,8($4)	lw	$2,4($4)	subu	$5,$3,$2	bgez	$5,$L2	nop	lw	$3,0($4)	lw	$2,12($4)	subu	$2,$2,$3	addu	$5,$5,$2$L2:	j	$31	move	$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	nomacro		lw	$2,4($4)	lw	$6,12($4)	addu	$5,$2,$5	sltu	$3,$5,$6	bne	$3,$0,$L10	sw	$5,4($4)	lw	$2,0($4)	subu	$2,$6,$2	subu	$2,$5,$2	sw	$2,4($4)$L10:	j	$31	nop	.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	nomacro		j	av_free	lw	$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	nomacro		addiu	$sp,$sp,-32	sw	$17,20($sp)	move	$17,$4	move	$4,$5	sw	$31,24($sp)	sw	$16,16($sp)	jal	av_malloc	move	$16,$5	move	$3,$2	addu	$16,$2,$16	sw	$16,12($17)	sw	$3,0($17)	sw	$3,4($17)	sw	$3,8($17)	li	$2,-1			# 0xffffffffffffffff	lw	$31,24($sp)	lw	$17,20($sp)	lw	$16,16($sp)	movn	$2,$0,$3	j	$31	addiu	$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,0	addiu	$sp,$sp,-40	sw	$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,$4	subu	$8,$2,$7	move	$4,$5	.set	noreorder	.set	nomacro	bltz	$8,$L46	move	$17,$6	.set	macro	.set	reorder$L19:	slt	$2,$8,$17	.set	noreorder	.set	nomacro	bne	$2,$0,$L21	move	$19,$4	.set	macro	.set	reorder	lw	$3,12($18)	subu	$2,$3,$7	slt	$3,$2,$17	move	$16,$2	movz	$16,$17,$3	sltu	$4,$16,32	.set	noreorder	.set	nomacro	bne	$4,$0,$L51	move	$5,$7	.set	macro	.set	reorder	andi	$2,$19,0x3$L54:	.set	noreorder	.set	nomacro	bne	$2,$0,$L51	move	$5,$7	.set	macro	.set	reorder	andi	$2,$7,0x3	.set	noreorder	.set	nomacro	bne	$2,$0,$L52	move	$4,$19	.set	macro	.set	reorder	li	$2,-32			# 0xffffffffffffffe0	addiu	$4,$19,-4	and	$2,$16,$2	addu	$6,$4,$2	sltu	$3,$4,$6	.set	noreorder	.set	nomacro	beq	$3,$0,$L28	addiu	$5,$7,-4	.set	macro	.set	reorder$L42:#APP	S32LDI xr1,$5,4	S32LDI xr2,$5,4	S32LDI xr3,$5,4	S32LDI xr4,$5,4	S32LDI xr5,$5,4	S32LDI xr6,$5,4	S32LDI xr7,$5,4	S32LDI xr8,$5,4	S32SDI xr1,$4,4	S32SDI xr2,$4,4	S32SDI xr3,$4,4	S32SDI xr4,$4,4	S32SDI xr5,$4,4	S32SDI xr6,$4,4	S32SDI xr7,$4,4	S32SDI xr8,$4,4#NO_APP	sltu	$2,$4,$6	bne	$2,$0,$L42$L28:	andi	$2,$16,0x1c	addu	$6,$6,$2	sltu	$3,$4,$6	.set	noreorder	.set	nomacro	beq	$3,$0,$L53	andi	$3,$16,0x3	.set	macro	.set	reorder$L43:#APP	S32LDI xr1,$5,4	S32SDI xr1,$4,4#NO_APP	sltu	$2,$4,$6	.set	noreorder	.set	nomacro	bne	$2,$0,$L43	andi	$3,$16,0x3	.set	macro	.set	reorder$L53:	li	$2,2			# 0x2	.set	noreorder	.set	nomacro	beq	$3,$2,$L34	li	$2,3			# 0x3	.set	macro	.set	reorder	.set	noreorder	.set	nomacro	beq	$3,$2,$L35	li	$2,1			# 0x1	.set	macro	.set	reorder	beq	$3,$2,$L47$L32:	lw	$7,4($18)$L50:	lw	$3,12($18)	addu	$7,$7,$16	sltu	$2,$7,$3	.set	noreorder	.set	nomacro	bne	$2,$0,$L36	sw	$7,4($18)	.set	macro	.set	reorder	lw	$2,0($18)	subu	$2,$3,$2	subu	$7,$7,$2	sw	$7,4($18)$L36:	subu	$17,$17,$16	.set	noreorder	.set	nomacro	blez	$17,$L48	addu	$19,$19,$16	.set	macro	.set	reorder	lw	$7,4($18)	subu	$2,$3,$7	slt	$3,$2,$17	move	$16,$2	movz	$16,$17,$3	sltu	$4,$16,32	.set	noreorder	.set	nomacro	beq	$4,$0,$L54	andi	$2,$19,0x3	.set	macro	.set	reorder	move	$5,$7$L51:	move	$4,$19$L52:	.set	noreorder	.set	nomacro	jal	memcpy	move	$6,$16	.set	macro	.set	reorder	.set	noreorder	.set	nomacro	j	$L50	lw	$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	nomacro	j	$31	addiu	$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	nomacro	j	$31	addiu	$sp,$sp,40	.set	macro	.set	reorder$L34:	lbu	$2,4($5)	sb	$2,4($4)	lbu	$3,5($5)	.set	noreorder	.set	nomacro	j	$L32	sb	$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	nomacro	j	$L32	sb	$2,6($4)	.set	macro	.set	reorder$L46:	lw	$3,12($18)	lw	$2,0($18)	subu	$2,$3,$2	.set	noreorder	.set	nomacro	j	$L19	addu	$8,$8,$2	.set	macro	.set	reorder$L47:	lbu	$2,4($5)	.set	noreorder	.set	nomacro	j	$L32	sb	$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,0	addiu	$sp,$sp,-40	sw	$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,$4	subu	$4,$2,$8	move	$17,$5	move	$20,$6	.set	noreorder	.set	nomacro	bltz	$4,$L86	move	$19,$7	.set	macro	.set	reorder$L56:	slt	$2,$4,$17	.set	noreorder	.set	nomacro	bne	$2,$0,$L87	lw	$31,36($sp)	.set	macro	.set	reorder	.set	noreorder	.set	nomacro	j	$L58	lw	$3,12($18)	.set	macro	.set	reorder$L89:	move	$5,$8	move	$4,$19	.set	noreorder	.set	nomacro	jal	$20	move	$6,$16	.set	macro	.set	reorder$L63:	lw	$8,4($18)	lw	$3,12($18)	addu	$8,$8,$16	sltu	$2,$8,$3	.set	noreorder	.set	nomacro	bne	$2,$0,$L76	sw	$8,4($18)	.set	macro	.set	reorder	lw	$2,0($18)	subu	$2,$3,$2	subu	$2,$8,$2	sw	$2,4($18)$L76:	subu	$17,$17,$16	.set	noreorder	.set	nomacro	blez	$17,$L88	lw	$31,36($sp)	.set	macro	.set	reorder	lw	$8,4($18)$L58:	subu	$3,$3,$8	slt	$2,$3,$17	move	$16,$3	.set	noreorder	.set	nomacro	bne	$20,$0,$L89	movz	$16,$17,$2	.set	macro	.set	reorder	sltu	$2,$16,32	.set	noreorder	.set	nomacro	bne	$2,$0,$L64	andi	$2,$19,0x3	.set	macro	.set	reorder	.set	noreorder	.set	nomacro	bne	$2,$0,$L90	move	$4,$19	.set	macro	.set	reorder	andi	$2,$8,0x3	.set	noreorder	.set	nomacro	bne	$2,$0,$L91	move	$5,$8	.set	macro	.set	reorder	li	$2,-32			# 0xffffffffffffffe0	addiu	$4,$19,-4	and	$2,$16,$2	addu	$6,$4,$2	sltu	$3,$4,$6	.set	noreorder	.set	nomacro	beq	$3,$0,$L68	addiu	$5,$8,-4	.set	macro	.set	reorder$L82:#APP	S32LDI xr1,$5,4	S32LDI xr2,$5,4	S32LDI xr3,$5,4	S32LDI xr4,$5,4	S32LDI xr5,$5,4	S32LDI xr6,$5,4	S32LDI xr7,$5,4	S32LDI xr8,$5,4	S32SDI xr1,$4,4	S32SDI xr2,$4,4	S32SDI xr3,$4,4	S32SDI xr4,$4,4	S32SDI xr5,$4,4	S32SDI xr6,$4,4	S32SDI xr7,$4,4	S32SDI xr8,$4,4#NO_APP	sltu	$2,$4,$6	bne	$2,$0,$L82$L68:	andi	$2,$16,0x1c	addu	$6,$6,$2	sltu	$3,$4,$6	.set	noreorder	.set	nomacro	beq	$3,$0,$L92	andi	$3,$16,0x3	.set	macro	.set	reorder$L83:#APP	S32LDI xr1,$5,4	S32SDI xr1,$4,4#NO_APP	sltu	$2,$4,$6	.set	noreorder	.set	nomacro	bne	$2,$0,$L83	andi	$3,$16,0x3	.set	macro	.set	reorder$L92:	li	$2,2			# 0x2	.set	noreorder	.set	nomacro	beq	$3,$2,$L74	li	$2,3			# 0x3	.set	macro	.set	reorder	.set	noreorder	.set	nomacro	beq	$3,$2,$L75	li	$2,1			# 0x1	.set	macro	.set	reorder	bne	$3,$2,$L72	lbu	$2,4($5)	sb	$2,4($4)$L72:	.set	noreorder	.set	nomacro	j	$L63	addu	$19,$19,$16	.set	macro	.set	reorder$L64:	move	$4,$19$L90:	move	$5,$8$L91:	.set	noreorder	.set	nomacro	jal	memcpy	move	$6,$16	.set	macro	.set	reorder	.set	noreorder	.set	nomacro	j	$L63	addu	$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	nomacro	j	$31	addiu	$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	nomacro	j	$31	addiu	$sp,$sp,40	.set	macro	.set	reorder$L86:	lw	$3,12($18)	lw	$2,0($18)	subu	$2,$3,$2	.set	noreorder	.set	nomacro	j	$L56	addu	$4,$4,$2	.set	macro	.set	reorder$L75:	lbu	$2,4($5)	addu	$19,$19,$16	sb	$2,4($4)	lbu	$3,5($5)	sb	$3,5($4)	lbu	$2,6($5)	.set	noreorder	.set	nomacro	j	$L63	sb	$2,6($4)	.set	macro	.set	reorder$L74:	lbu	$2,4($5)	addu	$19,$19,$16	sb	$2,4($4)	lbu	$3,5($5)	.set	noreorder	.set	nomacro	j	$L63	sb	$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	nomacro		addiu	$sp,$sp,-40	sw	$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,$4	subu	$6,$6,$3	sltu	$2,$6,$5	move	$19,$5	beq	$2,$0,$L98	move	$4,$5	lw	$2,4($18)	lw	$16,8($18)	subu	$16,$16,$2	addu	$3,$16,$6	slt	$2,$16,0	jal	av_malloc	movn	$16,$3,$2	move	$7,$2	move	$5,$16	move	$4,$18	move	$6,$0	jal	av_fifo_generic_read	move	$17,$2	lw	$4,0($18)	jal	av_free	addu	$16,$17,$16	addu	$2,$17,$19	sw	$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	$31	addiu	$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,0	addiu	$sp,$sp,-40	sw	$19,28($sp)	sw	$18,24($sp)	sw	$17,20($sp)	sw	$16,16($sp)	sw	$31,32($sp)	move	$18,$4	move	$19,$5	lw	$4,12($4)	lw	$5,8($18)	move	$17,$6	subu	$2,$4,$5	slt	$3,$2,$17	move	$16,$2	movz	$16,$17,$3	sltu	$4,$16,32	.set	noreorder	.set	nomacro	bne	$4,$0,$L126	move	$4,$5	.set	macro	.set	reorder$L124:	andi	$2,$5,0x3	.set	noreorder	.set	nomacro	bne	$2,$0,$L126	move	$4,$5	.set	macro	.set	reorder	andi	$2,$19,0x3	.set	noreorder	.set	nomacro	bne	$2,$0,$L127	move	$6,$16	.set	macro	.set	reorder	li	$2,-32			# 0xffffffffffffffe0	addiu	$4,$5,-4	and	$2,$16,$2	addu	$6,$4,$2	sltu	$3,$4,$6	.set	noreorder	.set	nomacro	beq	$3,$0,$L106	addiu	$5,$19,-4	.set	macro	.set	reorder$L119:#APP	S32LDI xr1,$5,4	S32LDI xr2,$5,4	S32LDI xr3,$5,4	S32LDI xr4,$5,4	S32LDI xr5,$5,4	S32LDI xr6,$5,4	S32LDI xr7,$5,4	S32LDI xr8,$5,4	S32SDI xr1,$4,4	S32SDI xr2,$4,4	S32SDI xr3,$4,4	S32SDI xr4,$4,4	S32SDI xr5,$4,4	S32SDI xr6,$4,4	S32SDI xr7,$4,4	S32SDI xr8,$4,4#NO_APP	sltu	$2,$4,$6	bne	$2,$0,$L119$L106:	andi	$2,$16,0x1c	addu	$6,$6,$2	sltu	$3,$4,$6	.set	noreorder	.set	nomacro	beq	$3,$0,$L128	andi	$3,$16,0x3	.set	macro	.set	reorder$L120:#APP	S32LDI xr1,$5,4	S32SDI xr1,$4,4#NO_APP	sltu	$2,$4,$6	.set	noreorder	.set	nomacro	bne	$2,$0,$L120	andi	$3,$16,0x3	.set	macro	.set	reorder$L128:	li	$2,2			# 0x2	.set	noreorder	.set	nomacro	beq	$3,$2,$L112	li	$2,3			# 0x3	.set	macro	.set	reorder	.set	noreorder	.set	nomacro	beq	$3,$2,$L113	li	$2,1			# 0x1	.set	macro	.set	reorder	beq	$3,$2,$L123$L110:	lw	$2,8($18)$L125:	lw	$4,12($18)	addu	$2,$2,$16	sltu	$3,$2,$4	.set	noreorder	.set	nomacro	bne	$3,$0,$L114	sw	$2,8($18)	.set	macro	.set	reorder	lw	$2,0($18)	sw	$2,8($18)$L114:	subu	$17,$17,$16	.set	noreorder	.set	nomacro	blez	$17,$L118	addu	$19,$19,$16	.set	macro	.set	reorder	lw	$5,8($18)	subu	$2,$4,$5	slt	$3,$2,$17	move	$16,$2	movz	$16,$17,$3	sltu	$4,$16,32	.set	noreorder	.set	nomacro	beq	$4,$0,$L124	move	$4,$5	.set	macro	.set	reorder$L126:	move	$6,$16$L127:	.set	noreorder	.set	nomacro	jal	memcpy	move	$5,$19	.set	macro	.set	reorder	.set	noreorder	.set	nomacro	j	$L125	lw	$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	nomacro	j	$31	addiu	$sp,$sp,40	.set	macro	.set	reorder$L112:	lbu	$2,4($5)	sb	$2,4($4)	lbu	$3,5($5)	.set	noreorder	.set	nomacro	j	$L110	sb	$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	nomacro	j	$L110	sb	$2,6($4)	.set	macro	.set	reorder$L123:	lbu	$2,4($5)	.set	noreorder	.set	nomacro	j	$L110	sb	$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 + -