📄 bit.s
字号:
.file 1 "bit.c".section .mdebug.abi32.previous.section .text.mad_bit_init,"ax",@progbits.align 2.align 5.globl mad_bit_init.ent mad_bit_init.type mad_bit_init, @functionmad_bit_init:.frame $sp,0,$31 # vars= 0, regs= 0/0, args= 0, gp= 0.mask 0x00000000,0.fmask 0x00000000,0.set noreorder.set nomacroli $2,8sh $2,6($4)sw $5,0($4)j $31sh $0,4($4).set macro.set reorder.end mad_bit_init.section .text.mad_bit_length,"ax",@progbits.align 2.align 5.globl mad_bit_length.ent mad_bit_length.type mad_bit_length, @functionmad_bit_length:.frame $sp,0,$31 # vars= 0, regs= 0/0, args= 0, gp= 0.mask 0x00000000,0.fmask 0x00000000,0.set noreorder.set nomacrolw $6,0($4)lw $3,0($5)lhu $2,6($4)subu $3,$3,$6sll $3,$3,3lhu $4,6($5)addu $2,$2,$3j $31subu $2,$2,$4.set macro.set reorder.end mad_bit_length.section .text.mad_bit_nextbyte,"ax",@progbits.align 2.align 5.globl mad_bit_nextbyte.ent mad_bit_nextbyte.type mad_bit_nextbyte, @functionmad_bit_nextbyte:.frame $sp,0,$31 # vars= 0, regs= 0/0, args= 0, gp= 0.mask 0x00000000,0.fmask 0x00000000,0.set noreorder.set nomacrolhu $3,6($4)li $2,8 # 0x8beq $3,$2,$L11noplw $2,0($4)j $31addiu $2,$2,1$L11:j $31lw $2,0($4).set macro.set reorder.end mad_bit_nextbyte.section .text.mad_bit_skip,"ax",@progbits.align 2.align 5.globl mad_bit_skip.ent mad_bit_skip.type mad_bit_skip, @functionmad_bit_skip:.frame $sp,0,$31 # vars= 0, regs= 0/0, args= 0, gp= 0.mask 0x00000000,0.fmask 0x00000000,0.set noreorder.set nomacrolhu $2,6($4)andi $3,$5,0x7move $6,$4subu $2,$2,$3lw $4,0($4)andi $2,$2,0xffffsrl $5,$5,3addu $4,$4,$5sltu $3,$2,9addiu $5,$4,1addiu $7,$2,8sw $4,0($6)bne $3,$0,$L13sh $2,6($6)sw $5,0($6)sh $7,6($6)$L13:lhu $2,6($6)sltu $2,$2,8beq $2,$0,$L18noplw $2,0($6)lbu $3,0($2)sh $3,4($6)$L18:j $31nop.set macro.set reorder.end mad_bit_skip.section .text.mad_bit_read,"ax",@progbits.align 2.align 5.globl mad_bit_read.ent mad_bit_read.type mad_bit_read, @functionmad_bit_read:.frame $sp,0,$31 # vars= 0, regs= 0/0, args= 0, gp= 0.mask 0x00000000,0.fmask 0x00000000,0.set noreorder.set nomacromove $9,$4lhu $4,6($4)li $10,8 # 0x8beq $4,$10,$L31nop$L20:sltu $2,$5,$4beq $2,$0,$L22subu $7,$5,$4li $2,1 # 0x1sll $2,$2,$4lhu $3,4($9)addiu $2,$2,-1subu $4,$4,$5and $3,$3,$2sra $8,$3,$4sh $4,6($9)$L24:j $31move $2,$8$L22:lw $6,0($9)li $2,1 # 0x1sll $2,$2,$4lhu $3,4($9)addiu $2,$2,-1addiu $6,$6,1sltu $4,$7,8and $8,$3,$2sh $10,6($9)bne $4,$0,$L25sw $6,0($9)$L29:lbu $2,0($6)addiu $7,$7,-8sll $3,$8,8addiu $6,$6,1sltu $4,$7,8or $8,$3,$2beq $4,$0,$L29sw $6,0($9)$L25:beq $7,$0,$L24sll $4,$8,$7lbu $5,0($6)li $2,8 # 0x8subu $2,$2,$7lhu $3,6($9)sra $2,$5,$2or $8,$4,$2subu $3,$3,$7move $2,$8sh $3,6($9)j $31sh $5,4($9)$L31:lw $2,0($9)lbu $3,0($2)j $L20sh $3,4($9).set macro.set reorder.end mad_bit_read.section .text.mad_bit_crc,"ax",@progbits.align 2.align 5.globl mad_bit_crc.ent mad_bit_crc.type mad_bit_crc, @functionmad_bit_crc:.frame $sp,0,$31 # vars= 0, regs= 0/0, args= 0, gp= 0.mask 0x00000000,0.fmask 0x00000000,0.set noreorder.set nomacrosw $5,4($sp)sltu $2,$6,32sw $4,0($sp)andi $7,$7,0xfffflhu $12,4($sp)move $11,$4bne $2,$0,$L33lhu $5,6($sp)lui $10,%hi(crc_table)addiu $10,$10,%lo(crc_table)li $13,8 # 0x8li $14,1 # 0x1$L34:beq $5,$13,$L98sltu $2,$5,33bne $2,$0,$L38li $2,32 # 0x20sll $2,$14,$5addiu $2,$2,-1addiu $3,$5,-32and $2,$12,$2sra $9,$2,$3andi $5,$3,0xffff$L40:srl $2,$7,8srl $3,$9,24xor $2,$2,$3andi $2,$2,0xffsll $2,$2,1addu $2,$2,$10lhu $4,0($2)sll $3,$7,8xor $3,$3,$4srl $2,$3,8srl $4,$9,16xor $2,$2,$4andi $2,$2,0xffsll $2,$2,1addu $2,$2,$10lhu $4,0($2)sll $3,$3,8xor $3,$3,$4xor $2,$9,$3srl $2,$2,7andi $2,$2,0x1feaddu $2,$2,$10lhu $4,0($2)sll $3,$3,8xor $3,$3,$4srl $2,$3,8xor $2,$9,$2andi $2,$2,0xffsll $2,$2,1addu $2,$2,$10lhu $4,0($2)addiu $6,$6,-32sll $3,$3,8sltu $2,$6,32beq $2,$0,$L34xor $7,$3,$4$L33:srl $3,$6,3li $2,2 # 0x2beq $3,$2,$L48li $2,3 # 0x3beq $3,$2,$L49li $2,1 # 0x1bne $3,$2,$L97sll $2,$3,$5addiu $9,$2,-1li $2,8 # 0x8move $8,$5bne $5,$2,$L71lui $10,%hi(crc_table)$L101:lbu $12,0($11)$L73:li $4,8 # 0x8subu $3,$4,$8sltu $2,$3,8and $8,$12,$9bne $2,$0,$L76addiu $11,$11,1lbu $3,0($11)sll $2,$8,8or $8,$2,$3addiu $11,$11,1j $L75li $5,8 # 0x8$L81:sll $2,$3,$5addiu $2,$2,-1subu $8,$3,$5move $4,$5bne $9,$0,$L84and $3,$12,$2li $3,1 # 0x1$L107:sll $3,$3,$5addiu $3,$3,-1addiu $2,$4,-1and $3,$12,$3addiu $4,$5,-1sra $3,$3,$2andi $5,$4,0xffff$L85:srl $2,$7,15xor $2,$3,$2sll $7,$7,1andi $2,$2,0x1xori $3,$7,0x8005movn $7,$3,$2$L97:addiu $6,$6,-1li $2,-1 # 0xffffffffffffffffli $10,8 # 0x8sltu $9,$5,2beq $6,$2,$L99li $4,8 # 0x8bne $5,$10,$L81li $3,1 # 0x1j $L107lbu $12,0($11)$L38:subu $8,$2,$5sll $3,$14,$5addiu $3,$3,-1sltu $2,$8,8and $9,$12,$3bne $2,$0,$L41addiu $11,$11,1$L37:move $5,$11$L42:lbu $2,0($5)addiu $8,$8,-8sll $3,$9,8sltu $4,$8,8or $9,$3,$2beq $4,$0,$L42addiu $5,$5,1move $11,$5$L41:bne $8,$0,$L44subu $4,$13,$8j $L40li $5,8 # 0x8$L44:lbu $12,0($11)sll $3,$9,$8sra $2,$12,$4or $9,$3,$2j $L40andi $5,$4,0xffff$L98:lbu $12,0($11)li $8,24 # 0x18addiu $11,$11,1j $L37andi $9,$12,0xff$L84:subu $2,$10,$8sll $4,$3,$8andi $5,$2,0xffffbne $8,$0,$L86addiu $11,$11,1j $L85li $5,8 # 0x8$L99:j $31andi $2,$7,0xffff$L86:lbu $12,0($11)sra $2,$12,$2j $L85or $3,$4,$2$L48:li $2,1 # 0x1sll $2,$2,$5addiu $9,$2,-1move $8,$5lui $10,%hi(crc_table)$L50:li $2,8 # 0x8beq $5,$2,$L100sltu $2,$8,9bne $2,$0,$L64addiu $2,$5,-8andi $5,$2,0xffffli $2,1 # 0x1and $4,$12,$9addiu $3,$8,-8sll $2,$2,$5sra $4,$4,$3addiu $9,$2,-1move $8,$5$L66:srl $2,$7,8xor $2,$4,$2andi $2,$2,0xffaddiu $3,$10,%lo(crc_table)sll $2,$2,1addu $2,$2,$3lhu $4,0($2)sll $3,$7,8li $2,8 # 0x8beq $5,$2,$L101xor $7,$3,$4$L71:sltu $2,$8,9bne $2,$0,$L73and $2,$12,$9addiu $3,$8,-8addiu $4,$5,-8sra $8,$2,$3andi $5,$4,0xffff$L75:srl $2,$7,8xor $2,$8,$2andi $2,$2,0xffaddiu $3,$10,%lo(crc_table)sll $2,$2,1addu $2,$2,$3lhu $4,0($2)sll $3,$7,8xor $7,$3,$4j $L97andi $6,$6,0x7$L100:lbu $12,0($11)$L64:li $5,8 # 0x8subu $3,$5,$8sltu $2,$3,8and $4,$12,$9beq $2,$0,$L102addiu $11,$11,1beq $3,$0,$L108subu $2,$5,$3lbu $12,0($11)andi $5,$2,0xffffsll $4,$4,$3li $3,1 # 0x1sll $3,$3,$5sra $2,$12,$2or $4,$4,$2addiu $9,$3,-1j $L66move $8,$5$L49:li $3,8 # 0x8beq $5,$3,$L104sltu $2,$5,9bne $2,$0,$L55li $2,1 # 0x1sll $3,$2,$5addiu $4,$5,-8andi $5,$4,0xffffaddiu $3,$3,-1and $3,$12,$3sll $2,$2,$5sra $4,$3,$4addiu $9,$2,-1move $8,$5$L57:srl $2,$7,8xor $2,$4,$2andi $2,$2,0xfflui $10,%hi(crc_table)addiu $3,$10,%lo(crc_table)sll $2,$2,1addu $2,$2,$3lhu $4,0($2)sll $3,$7,8j $L50xor $7,$3,$4$L102:lbu $3,0($11)sll $2,$4,8or $4,$2,$3addiu $11,$11,1li $8,8 # 0x8j $L66li $9,255 # 0xff$L104:lbu $12,0($11)li $4,255 # 0xffmove $3,$0$L54:sltu $2,$3,8and $4,$12,$4bne $2,$0,$L58addiu $11,$11,1lbu $3,0($11)sll $2,$4,8or $4,$2,$3addiu $11,$11,1li $5,8 # 0x8li $8,8 # 0x8j $L57li $9,255 # 0xff$L76:beq $3,$0,$L105noplbu $12,0($11)subu $4,$4,$3sra $2,$12,$4sll $3,$8,$3or $8,$3,$2j $L75andi $5,$4,0xffff$L55:sll $2,$2,$5subu $3,$3,$5j $L54addiu $4,$2,-1$L58:beq $3,$0,$L106li $2,8 # 0x8subu $2,$2,$3lbu $12,0($11)andi $5,$2,0xffffsll $4,$4,$3li $3,1 # 0x1sll $3,$3,$5sra $2,$12,$2or $4,$4,$2addiu $9,$3,-1j $L57move $8,$5$L108:li $8,8 # 0x8j $L66li $9,255 # 0xff$L106:li $5,8 # 0x8li $8,8 # 0x8j $L57li $9,255 # 0xff$L105:j $L75li $5,8 # 0x8.set macro.set reorder.end mad_bit_crc.rdata.align 2.type crc_table, @object.size crc_table, 512crc_table:.half 0.half -32763.half -32753.half 10.half -32741.half 30.half 20.half -32751.half -32717.half 54.half 60.half -32711.half 40.half -32723.half -32729.half 34.half -32669.half 102.half 108.half -32663.half 120.half -32643.half -32649.half 114.half 80.half -32683.half -32673.half 90.half -32693.half 78.half 68.half -32703.half -32573.half 198.half 204.half -32567.half 216.half -32547.half -32553.half 210.half 240.half -32523.half -32513.half 250.half -32533.half 238.half 228.half -32543.half 160.half -32603.half -32593.half 170.half -32581.half 190.half 180.half -32591.half -32621.half 150.half 156.half -32615.half 136.half -32627.half -32633.half 130.half -32381.half 390.half 396.half -32375.half 408.half -32355.half -32361.half 402.half 432.half -32331.half -32321.half 442.half -32341.half 430.half 420.half -32351.half 480.half -32283.half -32273.half 490.half -32261.half 510.half 500.half -32271.half -32301.half 470.half 476.half -32295.half 456.half -32307.half -32313.half 450.half 320.half -32443.half -32433.half 330.half -32421.half 350.half 340.half -32431.half -32397.half 374.half 380.half -32391.half 360.half -32403.half -32409.half 354.half -32477.half 294.half 300.half -32471.half 312.half -32451.half -32457.half 306.half 272.half -32491.half -32481.half 282.half -32501.half 270.half 260.half -32511.half -31997.half 774.half 780.half -31991.half 792.half -31971.half -31977.half 786.half 816.half -31947.half -31937.half 826.half -31957.half 814.half 804.half -31967.half 864.half -31899.half -31889.half 874.half -31877.half 894.half 884.half -31887.half -31917.half 854.half 860.half -31911.half 840.half -31923.half -31929.half 834.half 960.half -31803.half -31793.half 970.half -31781.half 990.half 980.half -31791.half -31757.half 1014.half 1020.half -31751.half 1000.half -31763.half -31769.half 994.half -31837.half 934.half 940.half -31831.half 952.half -31811.half -31817.half 946.half 912.half -31851.half -31841.half 922.half -31861.half 910.half 900.half -31871.half 640.half -32123.half -32113.half 650.half -32101.half 670.half 660.half -32111.half -32077.half 694.half 700.half -32071.half 680.half -32083.half -32089.half 674.half -32029.half 742.half 748.half -32023.half 760.half -32003.half -32009.half 754.half 720.half -32043.half -32033.half 730.half -32053.half 718.half 708.half -32063.half -32189.half 582.half 588.half -32183.half 600.half -32163.half -32169.half 594.half 624.half -32139.half -32129.half 634.half -32149.half 622.half 612.half -32159.half 544.half -32219.half -32209.half 554.half -32197.half 574.half 564.half -32207.half -32237.half 534.half 540.half -32231.half 520.half -32243.half -32249.half 514.ident "GCC: (GNU) 4.1.2"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -