sharedbook.mid
来自「君正早期ucos系统(只有早期的才不没有打包成库),MPLAYER,文件系统,图」· MID 代码 · 共 2,649 行 · 第 1/3 页
MID
2,649 行
j $L105 sra $3,$2,$3$L119: li $4,1 # 0x1 sll $2,$4,$6 addu $2,$2,$24 j $L118 sra $6,$2,$5$L116: li $5,1 # 0x1 sll $2,$5,$9 addu $2,$4,$2 j $L118 sra $3,$2,$3$L106: li $4,1 # 0x1 sll $2,$4,$6 addu $2,$16,$2 j $L105 sra $6,$2,$5$L216: j $L66 li $3,-1 # 0xffffffffffffffff .set macro .set reorder .end _book_unquantize .section .text.vorbis_staticbook_destroy,"ax",@progbits .align 2 .align 5 .globl vorbis_staticbook_destroy .ent vorbis_staticbook_destroy .type vorbis_staticbook_destroy, @functionvorbis_staticbook_destroy: .frame $sp,24,$31 # vars= 0, regs= 2/0, args= 16, gp= 0 .mask 0x80010000,-4 .fmask 0x00000000,0 .set noreorder .set nomacro addiu $sp,$sp,-24 sw $16,16($sp) sw $31,20($sp) lw $2,32($4) move $16,$4 beq $2,$0,$L232 move $4,$2 jal uc_free nop$L232: lw $2,8($16) beq $2,$0,$L234 move $4,$2 jal uc_free nop$L234: move $4,$16 move $5,$0 jal memset li $6,36 # 0x24 move $4,$16 lw $31,20($sp) lw $16,16($sp) j uc_free addiu $sp,$sp,24 .set macro .set reorder .end vorbis_staticbook_destroy .section .text.vorbis_staticbook_clear,"ax",@progbits .align 2 .align 5 .globl vorbis_staticbook_clear .ent vorbis_staticbook_clear .type vorbis_staticbook_clear, @functionvorbis_staticbook_clear: .frame $sp,24,$31 # vars= 0, regs= 2/0, args= 16, gp= 0 .mask 0x80010000,-4 .fmask 0x00000000,0 .set noreorder .set nomacro addiu $sp,$sp,-24 sw $16,16($sp) sw $31,20($sp) lw $2,32($4) move $16,$4 beq $2,$0,$L238 move $4,$2 jal uc_free nop$L238: lw $2,8($16) beq $2,$0,$L240 move $4,$2 jal uc_free nop$L240: move $4,$16 lw $31,20($sp) lw $16,16($sp) move $5,$0 li $6,36 # 0x24 j memset addiu $sp,$sp,24 .set macro .set reorder .end vorbis_staticbook_clear .section .text._make_words,"ax",@progbits .align 2 .align 5 .globl _make_words .ent _make_words .type _make_words, @function_make_words: .frame $sp,168,$31 # vars= 136, regs= 4/0, args= 16, gp= 0 .mask 0x80070000,-4 .fmask 0x00000000,0 addiu $sp,$sp,-168 sw $18,160($sp) sw $17,156($sp) sw $16,152($sp) sw $31,164($sp) move $17,$6 move $18,$4 .set noreorder .set nomacro beq $6,$0,$L244 move $16,$5 .set macro .set reorder .set noreorder .set nomacro jal uc_malloc sll $4,$6,2 .set macro .set reorder move $12,$2 addiu $13,$sp,16 li $4,4 # 0x4 li $2,3 # 0x3 addiu $6,$sp,148 .set noreorder .set nomacro beq $4,$2,$L250 move $3,$13 .set macro .set reorder$L311: li $2,1 # 0x1 beq $4,$2,$L306$L247: addiu $5,$3,-4 move $2,$0#APP S32I2M xr1,$2#NO_APP andi $3,$3,0x1f .set noreorder .set nomacro beq $3,$0,$L313 addiu $2,$6,-31 .set macro .set reorder li $2,-32 # 0xffffffffffffffe0 and $2,$5,$2 addiu $4,$2,32 sltu $3,$5,$4 .set noreorder .set nomacro beq $3,$0,$L313 addiu $2,$6,-31 .set macro .set reorder$L296:#APP S32SDI xr1,$5,4#NO_APP sltu $2,$5,$4 .set noreorder .set nomacro bne $2,$0,$L296 addiu $2,$6,-31 .set macro .set reorder$L313: li $3,-32 # 0xffffffffffffffe0 and $3,$2,$3 sltu $4,$5,$3 .set noreorder .set nomacro beq $4,$0,$L254 addiu $2,$5,4 .set macro .set reorder$L314:#APP pref 30,0($2) S32SDI xr1,$5,4 S32SDI xr1,$5,4 S32SDI xr1,$5,4 S32SDI xr1,$5,4 S32SDI xr1,$5,4 S32SDI xr1,$5,4 S32SDI xr1,$5,4 S32SDI xr1,$5,4#NO_APP sltu $2,$5,$3 .set noreorder .set nomacro bne $2,$0,$L314 addiu $2,$5,4 .set macro .set reorder$L254: addiu $3,$6,-4 sltu $2,$5,$3 beq $2,$0,$L256$L298:#APP S32SDI xr1,$5,4#NO_APP sltu $2,$5,$3 bne $2,$0,$L298$L256: andi $3,$6,0x3 li $2,3 # 0x3 .set noreorder .set nomacro beq $3,$2,$L261 li $2,1 # 0x1 .set macro .set reorder beq $3,$2,$L307$L258: .set noreorder .set nomacro blez $16,$L315 lw $31,164($sp) .set macro .set reorder move $8,$18 move $10,$0 move $11,$0$L264: lw $6,0($8) .set noreorder .set nomacro blez $6,$L265 sll $9,$6,2 .set macro .set reorder addu $3,$9,$13 slt $2,$6,32 .set noreorder .set nomacro beq $2,$0,$L267 lw $7,0($3) .set macro .set reorder srl $2,$7,$6 bne $2,$0,$L294$L267: sll $2,$11,2 addu $2,$2,$12 move $4,$3 sw $7,0($2) addiu $11,$11,1 move $3,$6$L270: lw $2,0($4) addiu $5,$2,1 andi $2,$2,0x1 .set noreorder .set nomacro bne $2,$0,$L308 li $2,1 # 0x1 .set macro .set reorder addiu $3,$3,-1 sw $5,0($4) .set noreorder .set nomacro bne $3,$0,$L270 addiu $4,$4,-4 .set macro .set reorder$L275: addiu $5,$6,1 slt $2,$5,33 beq $2,$0,$L276 sll $2,$5,2 addu $2,$2,$13 lw $6,0($2) srl $3,$6,1 bne $7,$3,$L276 addu $3,$13,$9 .set noreorder .set nomacro j $L279 li $7,33 # 0x21 .set macro .set reorder$L280: lw $4,8($3) srl $2,$4,1 .set noreorder .set nomacro bne $2,$6,$L276 addiu $3,$3,4 .set macro .set reorder move $6,$4$L279: lw $2,0($3) addiu $5,$5,1 sll $2,$2,1 .set noreorder .set nomacro bne $5,$7,$L280 sw $2,4($3) .set macro .set reorder$L276: addiu $10,$10,1 .set noreorder .set nomacro bne $16,$10,$L264 addiu $8,$8,4 .set macro .set reorder move $4,$18$L312: move $9,$0 move $8,$0$L284: lw $6,0($4) blez $6,$L309 sll $2,$8,2 addu $2,$2,$12 lw $7,0($2) move $5,$0 move $3,$0$L285: srl $2,$7,$5 sll $3,$3,1 andi $2,$2,0x1 addiu $5,$5,1 .set noreorder .set nomacro bne $5,$6,$L285 or $3,$3,$2 .set macro .set reorder$L286: beq $17,$0,$L287 .set noreorder .set nomacro beq $6,$0,$L289 sll $2,$8,2 .set macro .set reorder addu $2,$2,$12 addiu $8,$8,1 sw $3,0($2)$L289: addiu $9,$9,1 .set noreorder .set nomacro bne $16,$9,$L284 addiu $4,$4,4 .set macro .set reorder lw $31,164($sp)$L315: lw $18,160($sp) lw $17,156($sp) lw $16,152($sp) move $2,$12 .set noreorder .set nomacro j $31 addiu $sp,$sp,168 .set macro .set reorder$L308: .set noreorder .set nomacro beq $3,$2,$L295 lw $2,20($sp) .set macro .set reorder lw $2,-4($4) sll $2,$2,1 .set noreorder .set nomacro j $L275 sw $2,0($4) .set macro .set reorder$L287: sll $2,$8,2 addu $2,$2,$12 addiu $8,$8,1 .set noreorder .set nomacro j $L289 sw $3,0($2) .set macro .set reorder$L265: addiu $2,$11,1 addiu $10,$10,1 movz $11,$2,$17 .set noreorder .set nomacro bne $16,$10,$L264 addiu $8,$8,4 .set macro .set reorder .set noreorder .set nomacro j $L312 move $4,$18 .set macro .set reorder$L295: addiu $2,$2,1 .set noreorder .set nomacro j $L275 sw $2,20($sp) .set macro .set reorder$L309: .set noreorder .set nomacro j $L286 move $3,$0 .set macro .set reorder$L244: .set noreorder .set nomacro jal uc_malloc sll $4,$5,2 .set macro .set reorder move $12,$2 addiu $13,$sp,16 li $4,4 # 0x4 li $2,3 # 0x3 addiu $6,$sp,148 .set noreorder .set nomacro bne $4,$2,$L311 move $3,$13 .set macro .set reorder$L250: addiu $3,$sp,19 sb $0,16($sp) sb $0,17($sp) .set noreorder .set nomacro j $L247 sb $0,18($sp) .set macro .set reorder$L294: .set noreorder .set nomacro jal uc_free move $4,$12 .set macro .set reorder move $12,$0 lw $31,164($sp) lw $18,160($sp) lw $17,156($sp) lw $16,152($sp) move $2,$12 .set noreorder .set nomacro j $31 addiu $sp,$sp,168 .set macro .set reorder$L261: sb $0,6($5) sb $0,4($5) .set noreorder .set nomacro j $L258 sb $0,5($5) .set macro .set reorder$L307: .set noreorder .set nomacro j $L258 sb $0,4($5) .set macro .set reorder$L306: addiu $3,$sp,17 .set noreorder .set nomacro j $L247 sb $0,16($sp) .set macro .set reorder .end _make_words .section .text.vorbis_book_clear,"ax",@progbits .align 2 .align 5 .globl vorbis_book_clear .ent vorbis_book_clear .type vorbis_book_clear, @functionvorbis_book_clear: .frame $sp,24,$31 # vars= 0, regs= 2/0, args= 16, gp= 0 .mask 0x80010000,-4 .fmask 0x00000000,0 addiu $sp,$sp,-24 sw $16,16($sp) sw $31,20($sp) move $16,$4 lw $4,16($4) beq $4,$0,$L317 jal uc_free$L317: lw $4,20($16) beq $4,$0,$L319 jal uc_free$L319: lw $4,24($16) beq $4,$0,$L321 jal uc_free$L321: lw $4,28($16) beq $4,$0,$L323 jal uc_free$L323: lw $4,32($16) .set noreorder .set nomacro beq $4,$0,$L351 andi $2,$16,0x3 .set macro .set reorder jal uc_free andi $2,$16,0x3$L351: li $3,4 # 0x4 subu $3,$3,$2 li $2,2 # 0x2 move $4,$16 .set noreorder .set nomacro beq $3,$2,$L329 addiu $6,$16,52 .set macro .set reorder li $2,3 # 0x3 .set noreorder .set nomacro beq $3,$2,$L330 li $2,1 # 0x1 .set macro .set reorder beq $3,$2,$L349$L327: addiu $5,$4,-4 move $2,$0#APP S32I2M xr1,$2#NO_APP andi $3,$4,0x1f .set noreorder .set nomacro beq $3,$0,$L352 addiu $2,$6,-31 .set macro .set reorder li $2,-32 # 0xffffffffffffffe0 and $2,$5,$2 addiu $4,$2,32 sltu $3,$5,$4 .set noreorder .set nomacro beq $3,$0,$L352 addiu $2,$6,-31 .set macro .set reorder$L343:#APP S32SDI xr1,$5,4#NO_APP sltu $2,$5,$4 .set noreorder .set nomacro bne $2,$0,$L343 addiu $2,$6,-31 .set macro .set reorder$L352: li $3,-32 # 0xffffffffffffffe0 and $3,$2,$3 sltu $4,$5,$3 .set noreorder .set nomacro beq $4,$0,$L353 addiu $2,$6,-4 .set macro .set reorder addiu $2,$5,4$L354:#APP pref 30,0($2) S32SDI xr1,$5,4 S32SDI xr1,$5,4 S32SDI xr1,$5,4 S32SDI xr1,$5,4 S32SDI xr1,$5,4 S32SDI xr1,$5,4 S32SDI xr1,$5,4 S32SDI xr1,$5,4#NO_APP sltu $2,$5,$3 .set noreorder .set nomacro bne $2,$0,$L354 addiu $2,$5,4 .set macro .set reorder addiu $2,$6,-4$L353: li $3,-4 # 0xfffffffffffffffc and $3,$2,$3 sltu $4,$5,$3 .set noreorder .set nomacro beq $4,$0,$L355 andi $4,$6,0x3 .set macro .set reorder$L345:#APP S32SDI xr1,$5,4#NO_APP sltu $2,$5,$3 .set noreorder .set nomacro bne $2,$0,$L345 andi $4,$6,0x3 .set macro .set reorder$L355: li $2,2 # 0x2 .set noreorder .set nomacro beq $4,$2,$L340 addiu $3,$5,4 .set macro .set reorder li $2,3 # 0x3 .set noreorder .set nomacro beq $4,$2,$L341 li $2,1 # 0x1 .set macro .set reorder .set noreorder .set nomacro beq $4,$2,$L350 lw $31,20($sp) .set macro .set reorder lw $16,16($sp) .set noreorder .set nomacro j $31 addiu $sp,$sp,24 .set macro .set reorder$L340: sb $0,4($5) sb $0,1($3) lw $31,20($sp) lw $16,16($sp) .set noreorder .set nomacro j $31 addiu $sp,$sp,24 .set macro .set reorder$L329: addiu $4,$16,2 sb $0,0($16) .set noreorder .set nomacro j $L327 sb $0,1($16) .set macro .set reorder$L341: sb $0,6($5) sb $0,4($5) sb $0,5($5) lw $31,20($sp) lw $16,16($sp) .set noreorder .set nomacro j $31 addiu $sp,$sp,24 .set macro .set reorder$L330: addiu $4,$16,3 sb $0,0($16) sb $0,1($16) .set noreorder .set nomacro j $L327 sb $0,2($16) .set macro .set reorder$L350: sb $0,4($5) lw $31,20($sp) lw $16,16($sp) .set noreorder .set nomacro j $31 addiu $sp,$sp,24 .set macro .set reorder$L349: addiu $4,$16,1 .set noreorder .set nomacro j $L327 sb $0,0($16) .set macro .set reorder .end vorbis_book_clear .section .text.vorbis_book_init_decode,"ax",@progbits .align 2 .align 5 .globl vorbis_book_init_decode .ent vorbis_book_init_decode .type vorbis_book_init_decode, @functionvorbis_book_init_decode: .frame $fp,64,$31 # vars= 8, regs= 10/0, args= 16, gp= 0 .mask 0xc0ff0000,-4 .fmask 0x00000000,0 andi $2,$4,0x3 li $3,4 # 0x4 addiu $sp,$sp,-64 subu $3,$3,$2 li $2,2 # 0x2 sw $fp,56($sp) sw $21,44($sp) sw $17,28($sp) sw $31,60($sp) sw $23,52($sp) sw $22,48($sp) sw $20,40($sp) sw $19,36($sp) sw $18,32($sp) sw $16,24($sp) move $fp,$sp move $17,$4 move $21,$5 .set noreorder .set nomacro beq $3,$2,$L359 addiu $6,$4,52 .set macro .set reorder li $2,3 # 0x3 .set noreorder .set nomacro beq $3,$2,$L360 li $2,1 # 0x1 .set macro .set reorder beq $3,$2,$L462$L357: addiu $5,$4,-4 move $2,$0#APP S32I2M xr1,$2#NO_APP andi $3,$4,0x1f .set noreorder .set nomacro beq $3,$0,$L472 addiu $2,$6,-31 .set macro .set reorder li $2,-32 # 0xffffffffffffffe0 and $2,$5,$2 addiu $4,$2,32 sltu $3,$5,$4 .set noreorder .set nomacro beq $3,$0,$L472 addiu $2,$6,-31
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?