crc.mid
来自「君正早期ucos系统(只有早期的才不没有打包成库),MPLAYER,文件系统,图」· MID 代码 · 共 222 行
MID
222 行
.file 1 "crc.c" .section .mdebug.abi32 .previous .section .text.av_crc_init,"ax",@progbits .align 2 .align 5 .globl av_crc_init .ent av_crc_init .type av_crc_init, @functionav_crc_init: .frame $sp,0,$31 # vars= 0, regs= 0/0, args= 0, gp= 0 .mask 0x00000000,0 .fmask 0x00000000,0 .set noreorder .set nomacro addiu $2,$6,-8 sltu $2,$2,25 move $14,$4 move $11,$5 bne $2,$0,$L18 lw $10,16($sp) li $3,-1 # 0xffffffffffffffff$L13:$L24: j $31 move $2,$3$L18: li $3,1 # 0x1 andi $2,$6,0x20 sll $4,$3,$6 move $5,$0 movn $5,$4,$2 move $9,$0 movn $4,$0,$2 slt $2,$9,$5 bne $2,$0,$L23 li $2,1028 # 0x404 bne $9,$5,$L24 li $3,-1 # 0xffffffffffffffff sltu $2,$7,$4 beq $2,$0,$L24 nop li $2,1028 # 0x404$L23: bne $10,$2,$L19 subu $2,$0,$6$L22: sll $8,$7,$2 li $3,-16777216 # 0xffffffffff000000 li $2,16711680 # 0xff0000 ori $12,$3,0xff00 ori $13,$2,0xff move $10,$14 j $L8 move $9,$0$L21: sw $3,0($10)$L11: addiu $9,$9,1 li $2,256 # 0x100 beq $9,$2,$L20 addiu $10,$10,4$L8: andi $2,$9,0x1 subu $2,$0,$2 and $2,$7,$2 srl $3,$9,1 sll $4,$9,24 xor $3,$3,$2 sra $4,$4,31 andi $6,$3,0x1 and $4,$8,$4 sll $2,$9,25 xor $2,$2,$4 subu $6,$0,$6 and $6,$7,$6 sra $5,$2,31 srl $3,$3,1 xor $3,$3,$6 and $5,$8,$5 sll $2,$2,1 xor $2,$2,$5 andi $4,$3,0x1 sra $6,$2,31 subu $4,$0,$4 and $4,$7,$4 and $6,$8,$6 srl $3,$3,1 sll $2,$2,1 xor $3,$3,$4 xor $2,$2,$6 andi $5,$3,0x1 sra $4,$2,31 and $4,$8,$4 subu $5,$0,$5 sll $2,$2,1 xor $2,$2,$4 and $5,$7,$5 srl $3,$3,1 xor $3,$3,$5 sra $4,$2,31 andi $6,$3,0x1 and $4,$8,$4 sll $2,$2,1 xor $2,$2,$4 subu $6,$0,$6 and $6,$7,$6 sra $5,$2,31 srl $3,$3,1 xor $3,$3,$6 and $5,$8,$5 sll $2,$2,1 xor $2,$2,$5 andi $4,$3,0x1 sra $6,$2,31 subu $4,$0,$4 and $4,$7,$4 and $6,$8,$6 srl $3,$3,1 sll $2,$2,1 xor $3,$3,$4 xor $2,$2,$6 andi $5,$3,0x1 sra $4,$2,31 and $4,$8,$4 subu $5,$0,$5 sll $2,$2,1 xor $2,$2,$4 and $5,$7,$5 srl $3,$3,1 xor $3,$3,$5 srl $4,$2,8 sll $2,$2,8 andi $5,$3,0x1 and $4,$4,$13 and $2,$2,$12 or $2,$2,$4 subu $5,$0,$5 sll $4,$2,16 and $5,$7,$5 srl $3,$3,1 srl $2,$2,16 xor $3,$3,$5 bne $11,$0,$L21 or $2,$2,$4 j $L11 sw $2,0($10)$L20: li $2,1 # 0x1 move $3,$0 j $L13 sw $2,1024($14)$L19: li $2,4096 # 0x1000 bne $10,$2,$L24 li $3,-1 # 0xffffffffffffffff j $L22 subu $2,$0,$6 .set macro .set reorder .end av_crc_init .section .text.av_crc,"ax",@progbits .align 2 .align 5 .globl av_crc .ent av_crc .type av_crc, @functionav_crc: .frame $sp,0,$31 # vars= 0, regs= 0/0, args= 0, gp= 0 .mask 0x00000000,0 .fmask 0x00000000,0 .set noreorder .set nomacro addu $7,$7,$6 sltu $2,$6,$7 beq $2,$0,$L26 move $8,$4$L28: lbu $2,0($6) srl $4,$5,8 xor $2,$5,$2 andi $2,$2,0x00ff sll $2,$2,2 addu $2,$2,$8 lw $3,0($2) addiu $6,$6,1 bne $6,$7,$L28 xor $5,$4,$3$L26: j $31 move $2,$5 .set macro .set reorder .end av_crc .comm av_crcEDB88320,4,4 .comm av_crc04C11DB7,4,4 .comm av_crc8005,4,4 .comm av_crc07,4,4 .ident "GCC: (GNU) 4.1.2"
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?