vd_mtga.mid
来自「君正早期ucos系统(只有早期的才不没有打包成库),MPLAYER,文件系统,图」· MID 代码 · 共 1,349 行 · 第 1/2 页
MID
1,349 行
bne $2,$0,$L128$L80: andi $2,$6,0x1c addu $7,$7,$2 sltu $3,$4,$7 .set noreorder .set nomacro beq $3,$0,$L174 andi $2,$6,0x3 .set macro .set reorder$L129:#APP S32LDI xr1,$5,4 S32SDI xr1,$4,4#NO_APP sltu $2,$4,$7 .set noreorder .set nomacro bne $2,$0,$L129 andi $2,$6,0x3 .set macro .set reorder$L174: li $6,2 # 0x2 .set noreorder .set nomacro beq $2,$6,$L86 li $3,3 # 0x3 .set macro .set reorder .set noreorder .set nomacro beq $2,$3,$L87 move $6,$17 .set macro .set reorder li $6,1 # 0x1 .set noreorder .set nomacro beq $2,$6,$L153 move $6,$17 .set macro .set reorder$L160: sll $17,$6,1 slt $2,$18,$17 .set noreorder .set nomacro beq $2,$0,$L175 sltu $2,$6,32 .set macro .set reorder subu $8,$18,$6$L173: sltu $2,$8,32 .set noreorder .set nomacro bne $2,$0,$L89 addu $4,$6,$16 .set macro .set reorder andi $2,$4,0x3 bne $2,$0,$L89 .set noreorder .set nomacro bne $22,$0,$L89 li $3,-32 # 0xffffffffffffffe0 .set macro .set reorder addiu $4,$4,-4 and $2,$8,$3 addu $7,$4,$2 sltu $3,$4,$7 .set noreorder .set nomacro beq $3,$0,$L93 addiu $5,$16,-4 .set macro .set reorder$L126:#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,$7 bne $2,$0,$L126$L93: andi $2,$8,0x1c addu $7,$7,$2 sltu $3,$4,$7 .set noreorder .set nomacro beq $3,$0,$L176 andi $2,$8,0x3 .set macro .set reorder$L127:#APP S32LDI xr1,$5,4 S32SDI xr1,$4,4#NO_APP sltu $2,$4,$7 .set noreorder .set nomacro bne $2,$0,$L127 andi $2,$8,0x3 .set macro .set reorder$L176: li $6,2 # 0x2 .set noreorder .set nomacro beq $2,$6,$L99 li $3,3 # 0x3 .set macro .set reorder .set noreorder .set nomacro beq $2,$3,$L100 li $6,1 # 0x1 .set macro .set reorder .set noreorder .set nomacro beq $2,$6,$L154 addu $17,$20,$21 .set macro .set reorder$L161: lhu $2,4($19) addu $fp,$fp,$23 slt $2,$fp,$2 bne $2,$0,$L155$L121: lbu $3,9($19)$L57: lw $4,24($sp) lh $2,12($19) addu $4,$4,$2 .set noreorder .set nomacro beq $3,$0,$L156 sw $4,24($sp) .set macro .set reorder$L115: lhu $2,6($19) lw $6,24($sp) slt $2,$6,$2 .set noreorder .set nomacro bne $2,$0,$L56 lw $2,28($sp) .set macro .set reorder .set noreorder .set nomacro j $L177 lw $31,76($sp) .set macro .set reorder$L18: lui $6,%hi($LC0) addiu $6,$6,%lo($LC0) li $4,13 # 0xd .set noreorder .set nomacro jal mp_msg li $5,4 # 0x4 .set macro .set reorder .set noreorder .set nomacro j $L20 sw $0,28($sp) .set macro .set reorder$L150: lbu $2,4($5) .set noreorder .set nomacro j $L110 sb $2,4($4) .set macro .set reorder$L146: move $5,$6 move $4,$17 .set noreorder .set nomacro jal mpcodecs_config_vo move $6,$8 .set macro .set reorder beq $2,$0,$L13 lhu $6,4($19) .set noreorder .set nomacro j $L33 lhu $8,6($19) .set macro .set reorder$L148: lbu $2,8($19) srl $18,$2,3 lbu $2,9($19) .set noreorder .set nomacro bne $2,$0,$L52 lhu $16,10($19) .set macro .set reorder$L158: .set noreorder .set nomacro beq $16,$0,$L20 lw $3,28($sp) .set macro .set reorder lhu $2,4($19) lw $4,48($3) mul $6,$18,$2 mul $5,$16,$4 lw $3,32($3) sltu $2,$6,32 .set noreorder .set nomacro bne $2,$0,$L40 addu $4,$5,$3 .set macro .set reorder$L159: andi $2,$4,0x3 bne $2,$0,$L40 andi $2,$17,0x3 bne $2,$0,$L40 li $2,-32 # 0xffffffffffffffe0 addiu $4,$4,-4 and $2,$6,$2 addu $7,$4,$2 sltu $3,$4,$7 .set noreorder .set nomacro beq $3,$0,$L44 addiu $5,$17,-4 .set macro .set reorder$L122:#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,$7 bne $2,$0,$L122$L44: andi $2,$6,0x1c addu $7,$7,$2 sltu $3,$4,$7 beq $3,$0,$L46$L123:#APP S32LDI xr1,$5,4 S32SDI xr1,$4,4#NO_APP sltu $2,$4,$7 bne $2,$0,$L123$L46: andi $6,$6,0x3 li $2,2 # 0x2 .set noreorder .set nomacro beq $6,$2,$L50 li $2,3 # 0x3 .set macro .set reorder .set noreorder .set nomacro beq $6,$2,$L51 li $2,1 # 0x1 .set macro .set reorder beq $6,$2,$L157$L48: lhu $2,4($19)$L163: lh $3,12($19) mul $4,$18,$2 lbu $2,9($19) addu $17,$4,$17 .set noreorder .set nomacro beq $2,$0,$L158 addu $16,$16,$3 .set macro .set reorder$L52: lhu $2,6($19) slt $2,$16,$2 .set noreorder .set nomacro beq $2,$0,$L20 lw $3,28($sp) .set macro .set reorder lhu $2,4($19) lw $4,48($3) mul $6,$18,$2 mul $5,$16,$4 lw $3,32($3) sltu $2,$6,32 .set noreorder .set nomacro beq $2,$0,$L159 addu $4,$5,$3 .set macro .set reorder$L40: .set noreorder .set nomacro jal memcpy move $5,$17 .set macro .set reorder .set noreorder .set nomacro j $L163 lhu $2,4($19) .set macro .set reorder$L167: move $5,$20$L168: .set noreorder .set nomacro jal memcpy move $6,$18 .set macro .set reorder .set noreorder .set nomacro j $L164 lhu $2,4($19) .set macro .set reorder$L153: lbu $2,4($5) .set noreorder .set nomacro j $L160 sb $2,4($4) .set macro .set reorder$L151: lbu $2,4($5) .set noreorder .set nomacro j $L70 sb $2,4($4) .set macro .set reorder$L76: .set noreorder .set nomacro jal memcpy move $5,$16 .set macro .set reorder .set noreorder .set nomacro j $L160 move $6,$17 .set macro .set reorder$L154: lbu $2,4($5) .set noreorder .set nomacro j $L161 sb $2,4($4) .set macro .set reorder$L89: move $6,$8 .set noreorder .set nomacro jal memcpy move $5,$16 .set macro .set reorder .set noreorder .set nomacro j $L161 addu $17,$20,$21 .set macro .set reorder$L120: move $4,$16$L170: move $5,$20$L171: .set noreorder .set nomacro jal memcpy move $6,$21 .set macro .set reorder .set noreorder .set nomacro j $L165 move $6,$21 .set macro .set reorder$L86: lbu $2,4($5) move $6,$17 sb $2,4($4) lbu $3,5($5) .set noreorder .set nomacro j $L160 sb $3,5($4) .set macro .set reorder$L87: 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 $L160 sb $2,6($4) .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$L72: lbu $2,4($5) sb $2,4($4) lbu $3,5($5) .set noreorder .set nomacro j $L70 sb $3,5($4) .set macro .set reorder$L99: lbu $2,4($5) addu $17,$20,$21 sb $2,4($4) lbu $3,5($5) .set noreorder .set nomacro j $L161 sb $3,5($4) .set macro .set reorder$L100: lbu $2,4($5) addu $17,$20,$21 sb $2,4($4) lbu $3,5($5) sb $3,5($4) lbu $2,6($5) .set noreorder .set nomacro j $L161 sb $2,6($4) .set macro .set reorder$L73: 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 $L70 sb $2,6($4) .set macro .set reorder$L50: lbu $2,4($5) sb $2,4($4) lbu $3,5($5) .set noreorder .set nomacro j $L48 sb $3,5($4) .set macro .set reorder$L51: 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 $L48 sb $2,6($4) .set macro .set reorder$L157: lbu $2,4($5) .set noreorder .set nomacro j $L48 sb $2,4($4) .set macro .set reorder .end decode .globl mpcodecs_vd_mtga .data .align 2 .type mpcodecs_vd_mtga, @object .size mpcodecs_vd_mtga, 20mpcodecs_vd_mtga: .word info .word init .word uninit .word control .word decode .local out_fmt .comm out_fmt,4,4 .align 2 .type last_w, @object .size last_w, 4last_w: .word -1 .align 2 .type last_h, @object .size last_h, 4last_h: .word -1 .align 2 .type last_c, @object .size last_c, 4last_c: .word -1 .section .rodata.str1.4 .align 2$LC2: .ascii "TGA Images decoder\000" .align 2$LC3: .ascii "mtga\000" .align 2$LC4: .ascii "Tilman Sauerbeck, A'rpi\000" .align 2$LC5: .ascii "Tilman Sauerbeck\000" .align 2$LC6: .ascii "only 24bpp and 32bpp RGB targa files support so far\000" .data .align 2 .type info, @object .size info, 20info: .word $LC2 .word $LC3 .word $LC4 .word $LC5 .word $LC6 .ident "GCC: (GNU) 4.1.2"
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?