smc.s

来自「君正早期ucos系统(只有早期的才不没有打包成库),MPLAYER,文件系统,图」· S 代码 · 共 1,587 行 · 第 1/2 页

S
1,587
字号
.file	1 "smc.c".section .mdebug.abi32.previous.section	.text.smc_decode_end,"ax",@progbits.align	2.align	5.ent	smc_decode_end.type	smc_decode_end, @functionsmc_decode_end:.frame	$sp,24,$31		# vars= 0, regs= 1/0, args= 16, gp= 0.mask	0x80000000,-8.fmask	0x00000000,0.set	noreorder.set	nomacroaddiu	$sp,$sp,-24sw	$31,16($sp)lw	$5,136($4)lw	$2,3120($5)beq	$2,$0,$L2addiu	$5,$5,3120lw	$2,264($4)jal	$2nop$L2:lw	$31,16($sp)move	$2,$0j	$31addiu	$sp,$sp,24.set	macro.set	reorder.end	smc_decode_end.section	.rodata.str1.4,"aMS",@progbits,1.align	2$LC0:.ascii	"reget_buffer() failed\012\000".align	2$LC1:.ascii	"warning: MOV chunk size != encoded chunk size (%d != %d)".ascii	"; using MOV chunk size\012\000".align	2$LC2:.ascii	"SMC decoder just went out of bounds (stream ptr = %d, ch".ascii	"unk size = %d)\012\000".align	2$LC3:.ascii	"SMC decoder just went out of bounds (row ptr = %d, heigh".ascii	"t = %d)\012\000".align	2$LC4:.ascii	"warning: block counter just went negative (this should n".ascii	"ot happen)\012\000".align	2$LC5:.ascii	"encountered repeat block opcode (%02X) but no blocks ren".ascii	"dered yet\012\000".align	2$LC6:.ascii	"encountered repeat block opcode (%02X) but not enough bl".ascii	"ocks rendered yet\012\000".align	2$LC7:.ascii	"0xF0 opcode seen in SMC chunk (contact the developers)\012".ascii	"\000".section	.text.smc_decode_frame,"ax",@progbits.align	2.align	5.ent	smc_decode_frame.type	smc_decode_frame, @functionsmc_decode_frame:.frame	$sp,88,$31		# vars= 24, regs= 10/0, args= 24, gp= 0.mask	0xc0ff0000,-4.fmask	0x00000000,0addiu	$sp,$sp,-88sw	$31,84($sp)sw	$fp,80($sp)sw	$23,76($sp)sw	$22,72($sp)sw	$21,68($sp)sw	$20,64($sp)sw	$19,60($sp)sw	$18,56($sp)sw	$17,52($sp)sw	$16,48($sp)lw	$16,136($4)lw	$2,592($4)addiu	$3,$16,3120sw	$3,40($sp)sw	$7,3320($16)li	$3,1			# 0x1li	$7,15			# 0xfsw	$3,3200($16)sw	$7,3300($16)lw	$3,104($sp)sw	$5,92($sp)lw	$5,40($sp)sw	$3,3324($16).set	noreorder.set	nomacrojal	$2sw	$6,96($sp).set	macro.set	reorder.set	noreorder.set	nomacrobne	$2,$0,$L196lui	$6,%hi($LC0).set	macro.set	reorderlw	$8,0($16)lw	$4,3124($16)lw	$18,3136($16)lw	$3,584($8)andi	$2,$4,0x3lw	$20,40($8)lw	$21,44($8)lw	$19,3120($16)addiu	$22,$18,-4.set	noreorder.set	nomacrobne	$2,$0,$L10addiu	$5,$3,4.set	macro.set	reorderandi	$2,$5,0x3bne	$2,$0,$L10addiu	$5,$4,1020addiu	$4,$4,-4sltu	$2,$4,$5beq	$2,$0,$L216$L15:#APP.word	0b01110000011000000000010001010100	#S32LDI XR1,$3,4.word	0b01110000011000000000010010010100	#S32LDI XR2,$3,4.word	0b01110000011000000000010011010100	#S32LDI XR3,$3,4.word	0b01110000011000000000010100010100	#S32LDI XR4,$3,4.word	0b01110000011000000000010101010100	#S32LDI XR5,$3,4.word	0b01110000011000000000010110010100	#S32LDI XR6,$3,4.word	0b01110000011000000000010111010100	#S32LDI XR7,$3,4.word	0b01110000011000000000011000010100	#S32LDI XR8,$3,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,$5bne	$2,$0,$L15lw	$8,0($16)$L13:lw	$3,584($8)$L216:lw	$2,0($3).set	noreorder.set	nomacrobne	$2,$0,$L197li	$2,1			# 0x1.set	macro.set	reorder$L16:lw	$3,3320($16)lbu	$2,0($3)lbu	$4,1($3)lbu	$6,3($3)lbu	$5,2($3)sll	$2,$2,24sll	$4,$4,16or	$2,$2,$4or	$2,$2,$6sll	$5,$5,8or	$5,$5,$2li	$2,16711680			# 0xff0000lw	$3,3324($16)ori	$2,$2,0xffffand	$7,$5,$2.set	noreorder.set	nomacrobeq	$7,$3,$L18sw	$3,44($sp).set	macro.set	reorderlui	$6,%hi($LC1)move	$4,$8addiu	$6,$6,%lo($LC1)li	$5,1			# 0x1.set	noreorder.set	nomacrojal	av_logsw	$3,16($sp).set	macro.set	reorderlw	$2,3324($16)lw	$8,0($16)sw	$2,44($sp)$L18:lw	$4,40($8)lw	$5,44($8)addiu	$3,$4,3addiu	$2,$5,3addiu	$4,$4,6addiu	$5,$5,6slt	$6,$3,0slt	$7,$2,0movn	$3,$4,$6movn	$2,$5,$7sra	$3,$3,2sra	$2,$2,2mul	$17,$3,$2.set	noreorder.set	nomacrobeq	$17,$0,$L22lw	$3,44($sp).set	macro.set	reorderslt	$2,$3,4.set	noreorder.set	nomacrobne	$2,$0,$L198mul	$2,$21,$18.set	macro.set	reorder.set	noreorder.set	nomacroblez	$2,$L199sw	$2,24($sp).set	macro.set	reordersll	$fp,$18,2li	$23,4			# 0x4move	$21,$0move	$18,$0sw	$0,28($sp)sw	$0,32($sp)sw	$0,36($sp)$L32:lw	$6,3320($16)addu	$2,$6,$23lbu	$9,0($2)li	$2,112			# 0x70andi	$7,$9,0xf0.set	noreorder.set	nomacrobeq	$7,$2,$L37addiu	$23,$23,1.set	macro.set	reorderslt	$2,$7,113.set	noreorder.set	nomacrobeq	$2,$0,$L43li	$2,176			# 0xb0.set	macro.set	reorderli	$2,48			# 0x30.set	noreorder.set	nomacrobeq	$7,$2,$L35slt	$2,$7,49.set	macro.set	reorder.set	noreorder.set	nomacrobeq	$2,$0,$L44li	$2,80			# 0x50.set	macro.set	reorderli	$2,16			# 0x10.set	noreorder.set	nomacrobeq	$7,$2,$L34li	$2,32			# 0x20.set	macro.set	reorder.set	noreorder.set	nomacrobeq	$7,$2,$L217andi	$2,$9,0x10.set	macro.set	reorderbne	$7,$0,$L33$L34:andi	$2,$9,0x10.set	noreorder.set	nomacrobeq	$2,$0,$L47andi	$2,$9,0xf.set	macro.set	reorderaddu	$2,$6,$23lbu	$3,0($2)addiu	$23,$23,1addiu	$3,$3,1$L181:addiu	$3,$3,-1$L218:li	$2,-1			# 0xffffffffffffffffbeq	$3,$2,$L33addiu	$18,$18,4slt	$2,$18,$20.set	noreorder.set	nomacrobne	$2,$0,$L51addiu	$17,$17,-1.set	macro.set	reorderaddu	$21,$21,$fpmove	$18,$0$L51:.set	noreorder.set	nomacrobgez	$17,$L218addiu	$3,$3,-1.set	macro.set	reorder$L163:lui	$6,%hi($LC4)$L215:lw	$4,0($16)addiu	$6,$6,%lo($LC4).set	noreorder.set	nomacrojal	av_logli	$5,1			# 0x1.set	macro.set	reorder$L22:lw	$3,96($sp)$L214:li	$2,200			# 0xc8lw	$6,40($sp)lw	$7,92($sp)sw	$2,0($3)addiu	$8,$16,3312$L151:lw	$2,0($6)lw	$3,4($6)lw	$4,8($6)lw	$5,12($6)addiu	$6,$6,16sw	$2,0($7)sw	$3,4($7)sw	$4,8($7)sw	$5,12($7).set	noreorder.set	nomacrobne	$6,$8,$L151addiu	$7,$7,16.set	macro.set	reorderlw	$2,4($6)lw	$3,0($6)sw	$2,4($7)sw	$3,0($7)lw	$2,104($sp)$L9:lw	$31,84($sp)lw	$fp,80($sp)lw	$23,76($sp)lw	$22,72($sp)lw	$21,68($sp)lw	$20,64($sp)lw	$19,60($sp)lw	$18,56($sp)lw	$17,52($sp)lw	$16,48($sp).set	noreorder.set	nomacroj	$31addiu	$sp,$sp,88.set	macro.set	reorder$L10:.set	noreorder.set	nomacrojal	memcpyli	$6,1024			# 0x400.set	macro.set	reorder.set	noreorder.set	nomacroj	$L13lw	$8,0($16).set	macro.set	reorder$L43:.set	noreorder.set	nomacrobeq	$7,$2,$L39slt	$2,$7,177.set	macro.set	reorder.set	noreorder.set	nomacrobeq	$2,$0,$L45li	$2,208			# 0xd0.set	macro.set	reorderli	$2,144			# 0x90.set	noreorder.set	nomacrobeq	$7,$2,$L38li	$2,160			# 0xa0.set	macro.set	reorder.set	noreorder.set	nomacrobeq	$7,$2,$L39li	$2,128			# 0x80.set	macro.set	reorder.set	noreorder.set	nomacrobeq	$7,$2,$L211addu	$2,$6,$23.set	macro.set	reorder$L33:.set	noreorder.set	nomacrobeq	$17,$0,$L22lw	$3,44($sp).set	macro.set	reorderslt	$2,$3,$23bne	$2,$0,$L200lw	$3,24($sp)slt	$2,$21,$3bne	$2,$0,$L32lw	$8,0($16)$L29:lw	$2,24($sp)lui	$6,%hi($LC3)move	$4,$8addiu	$6,$6,%lo($LC3)move	$7,$21li	$5,1			# 0x1.set	noreorder.set	nomacrojal	av_logsw	$2,16($sp).set	macro.set	reorder.set	noreorder.set	nomacroj	$L214lw	$3,96($sp).set	macro.set	reorder$L37:andi	$2,$9,0x10.set	noreorder.set	nomacrobne	$2,$0,$L201addu	$2,$6,$23.set	macro.set	reorderandi	$2,$9,0xfaddiu	$3,$2,1$L94:addu	$2,$6,$23lbu	$5,0($2)addiu	$3,$3,-1li	$2,-1			# 0xffffffffffffffff.set	noreorder.set	nomacrobeq	$3,$2,$L202addu	$2,$21,$18.set	macro.set	reorder$L220:addu	$4,$19,$2andi	$6,$5,0x00ffaddiu	$8,$22,4move	$7,$0$L97:addiu	$7,$7,1li	$2,4			# 0x4sb	$6,0($4)sb	$6,1($4)sb	$6,2($4)sb	$6,3($4).set	noreorder.set	nomacrobne	$7,$2,$L97addu	$4,$4,$8.set	macro.set	reorderaddiu	$18,$18,4slt	$2,$18,$20bne	$2,$0,$L99addu	$21,$21,$fpmove	$18,$0$L99:addiu	$17,$17,-1.set	noreorder.set	nomacrobltz	$17,$L163addiu	$3,$3,-1.set	macro.set	reorderli	$2,-1			# 0xffffffffffffffff.set	noreorder.set	nomacrobne	$3,$2,$L220addu	$2,$21,$18.set	macro.set	reorder$L202:.set	noreorder.set	nomacroj	$L33addiu	$23,$23,1.set	macro.set	reorder$L197:sw	$2,3296($16).set	noreorder.set	nomacroj	$L16sw	$0,0($3).set	macro.set	reorder$L201:lbu	$3,0($2)addiu	$23,$23,1.set	noreorder.set	nomacroj	$L94addiu	$3,$3,1.set	macro.set	reorder$L39:li	$2,160			# 0xa0.set	noreorder.set	nomacrobeq	$7,$2,$L203addu	$2,$6,$23.set	macro.set	reorderlbu	$3,0($2)addiu	$23,$23,1sll	$11,$3,2$L119:andi	$2,$9,0xfaddiu	$12,$2,1move	$10,$0$L128:beq	$10,$12,$L33lw	$4,3320($16)addu	$7,$21,$18addu	$4,$23,$4lbu	$2,0($4)lbu	$5,1($4)lbu	$6,3($4)sll	$5,$5,16sll	$2,$2,24lbu	$3,2($4)or	$2,$2,$5or	$2,$2,$6sll	$3,$3,8addu	$5,$19,$7or	$8,$3,$2addiu	$9,$22,4li	$6,30			# 0x1eaddu	$7,$11,$16$L122:srl	$3,$8,$6andi	$3,$3,0x3addu	$3,$7,$3addiu	$2,$6,-2lbu	$4,3840($3)srl	$2,$8,$2andi	$2,$2,0x3sb	$4,0($5)addu	$2,$7,$2addiu	$3,$6,-4lbu	$4,3840($2)srl	$3,$8,$3andi	$3,$3,0x3sb	$4,1($5)addu	$3,$7,$3addiu	$2,$6,-6lbu	$4,3840($3)srl	$2,$8,$2andi	$2,$2,0x3sb	$4,2($5)addu	$2,$7,$2lbu	$3,3840($2)addiu	$6,$6,-8li	$2,-2			# 0xfffffffffffffffesb	$3,3($5).set	noreorder.set	nomacrobne	$6,$2,$L122addu	$5,$5,$9.set	macro.set	reorderaddiu	$18,$18,4slt	$2,$18,$20bne	$2,$0,$L124addu	$21,$21,$fpmove	$18,$0$L124:addiu	$17,$17,-1.set	noreorder.set	nomacrobltz	$17,$L163addiu	$10,$10,1.set	macro.set	reorder.set	noreorder.set	nomacroj	$L128addiu	$23,$23,4.set	macro.set	reorder$L35:andi	$2,$9,0x10$L217:.set	noreorder.set	nomacrobne	$2,$0,$L204addu	$2,$6,$23.set	macro.set	reorderandi	$2,$9,0xf.set	noreorder.set	nomacrobne	$21,$0,$L57addiu	$5,$2,1.set	macro.set	reorder$L210:.set	noreorder.set	nomacrobeq	$18,$0,$L205addu	$2,$21,$18.set	macro.set	reorder$L222:addiu	$4,$2,-4$L165:addiu	$5,$5,-1$L221:li	$2,-1			# 0xffffffffffffffff.set	noreorder.set	nomacrobeq	$5,$2,$L33addu	$2,$21,$18.set	macro.set	reorderaddu	$7,$19,$2addiu	$9,$22,4addu	$6,$19,$4move	$8,$0$L64:lbu	$3,0($6)addiu	$8,$8,1sb	$3,0($7)lbu	$2,1($6)sb	$2,1($7)lbu	$3,2($6)sb	$3,2($7)lbu	$2,3($6)addu	$6,$6,$9sb	$2,3($7)li	$2,4			# 0x4.set	noreorder.set	nomacrobne	$8,$2,$L64addu	$7,$7,$9.set	macro.set	reorderaddiu	$18,$18,4slt	$2,$18,$20bne	$2,$0,$L66addu	$21,$21,$fpmove	$18,$0$L66:addiu	$17,$17,-1.set	noreorder.set	nomacrobgez	$17,$L221addiu	$5,$5,-1.set	macro.set	reorderlw	$4,0($16)lui	$6,%hi($LC4)addiu	$6,$6,%lo($LC4).set	noreorder.set	nomacrojal	av_logli	$5,1			# 0x1.set	macro.set	reorder.set	noreorder.set	nomacroj	$L214lw	$3,96($sp).set	macro.set	reorder$L45:.set	noreorder.set	nomacrobeq	$7,$2,$L40slt	$2,$7,209.set	macro.set	reorder.set	noreorder.set	nomacrobeq	$2,$0,$L46li	$2,224			# 0xe0.set	macro.set	reorderli	$2,192			# 0xc0bne	$7,$2,$L33$L40:li	$2,192			# 0xc0.set	noreorder.set	nomacrobeq	$7,$2,$L206addu	$2,$6,$23.set	macro.set	reorderlbu	$3,0($2)addiu	$23,$23,1sll	$13,$3,3$L131:andi	$2,$9,0xfaddiu	$15,$2,1move	$14,$0$L143:.set	noreorder.set	nomacro

⌨️ 快捷键说明

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