crc.s
来自「君正早期ucos系统(只有早期的才不没有打包成库),MPLAYER,文件系统,图」· S 代码 · 共 222 行
S
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 nomacroaddiu $2,$6,-8sltu $2,$2,25move $14,$4move $11,$5bne $2,$0,$L18lw $10,16($sp)li $3,-1 # 0xffffffffffffffff$L13:$L24:j $31move $2,$3$L18:li $3,1 # 0x1andi $2,$6,0x20sll $4,$3,$6move $5,$0movn $5,$4,$2move $9,$0movn $4,$0,$2slt $2,$9,$5bne $2,$0,$L23li $2,1028 # 0x404bne $9,$5,$L24li $3,-1 # 0xffffffffffffffffsltu $2,$7,$4beq $2,$0,$L24nopli $2,1028 # 0x404$L23:bne $10,$2,$L19subu $2,$0,$6$L22:sll $8,$7,$2li $3,-16777216 # 0xffffffffff000000li $2,16711680 # 0xff0000ori $12,$3,0xff00ori $13,$2,0xffmove $10,$14j $L8move $9,$0$L21:sw $3,0($10)$L11:addiu $9,$9,1li $2,256 # 0x100beq $9,$2,$L20addiu $10,$10,4$L8:andi $2,$9,0x1subu $2,$0,$2and $2,$7,$2srl $3,$9,1sll $4,$9,24xor $3,$3,$2sra $4,$4,31andi $6,$3,0x1and $4,$8,$4sll $2,$9,25xor $2,$2,$4subu $6,$0,$6and $6,$7,$6sra $5,$2,31srl $3,$3,1xor $3,$3,$6and $5,$8,$5sll $2,$2,1xor $2,$2,$5andi $4,$3,0x1sra $6,$2,31subu $4,$0,$4and $4,$7,$4and $6,$8,$6srl $3,$3,1sll $2,$2,1xor $3,$3,$4xor $2,$2,$6andi $5,$3,0x1sra $4,$2,31and $4,$8,$4subu $5,$0,$5sll $2,$2,1xor $2,$2,$4and $5,$7,$5srl $3,$3,1xor $3,$3,$5sra $4,$2,31andi $6,$3,0x1and $4,$8,$4sll $2,$2,1xor $2,$2,$4subu $6,$0,$6and $6,$7,$6sra $5,$2,31srl $3,$3,1xor $3,$3,$6and $5,$8,$5sll $2,$2,1xor $2,$2,$5andi $4,$3,0x1sra $6,$2,31subu $4,$0,$4and $4,$7,$4and $6,$8,$6srl $3,$3,1sll $2,$2,1xor $3,$3,$4xor $2,$2,$6andi $5,$3,0x1sra $4,$2,31and $4,$8,$4subu $5,$0,$5sll $2,$2,1xor $2,$2,$4and $5,$7,$5srl $3,$3,1xor $3,$3,$5srl $4,$2,8sll $2,$2,8andi $5,$3,0x1and $4,$4,$13and $2,$2,$12or $2,$2,$4subu $5,$0,$5sll $4,$2,16and $5,$7,$5srl $3,$3,1srl $2,$2,16xor $3,$3,$5bne $11,$0,$L21or $2,$2,$4j $L11sw $2,0($10)$L20:li $2,1 # 0x1move $3,$0j $L13sw $2,1024($14)$L19:li $2,4096 # 0x1000bne $10,$2,$L24li $3,-1 # 0xffffffffffffffffj $L22subu $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 nomacroaddu $7,$7,$6sltu $2,$6,$7beq $2,$0,$L26move $8,$4$L28:lbu $2,0($6)srl $4,$5,8xor $2,$5,$2andi $2,$2,0x00ffsll $2,$2,2addu $2,$2,$8lw $3,0($2)addiu $6,$6,1bne $6,$7,$L28xor $5,$4,$3$L26:j $31move $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 + -
显示快捷键?