cf.sbk

来自「基于4个mips核的noc设计」· SBK 代码 · 共 162 行

SBK
162
字号
.globl main.text.align 16.type main,@functionmain:pushl %ebppushl %ebxpushl %esipushl %edimovl %esp,%ebpsubl $24,%espcmpl $1,20(%ebp)jg .LC2flds .LC4fstps -16(%ebp)jmp .LC3.LC2:movl 24(%ebp),%edipushl 4(%edi)call atofaddl $4,%espfstps -20(%ebp)flds -20(%ebp)fdivs .LC5fstps -16(%ebp).LC3:movl $0,-4(%ebp).LC6:movl -4(%ebp),%edileal 1(%edi),%esimovl %esi,-4(%ebp)flds .LC4fstps f(,%edi,4).LC7:cmpl $127,-4(%ebp)jle .LC6movl $0,-8(%ebp)jmp .LC11.LC10:movl -12(%ebp),%edileal f(,%edi,4),%ediflds (,%edi)fadds .LC13fstps (,%edi)incl -8(%ebp).LC11:call getcharmovl %eax,-12(%ebp)cmpl $-1,%eaxjne .LC10pushl $.LC14call printfaddl $4,%espmovl $0,-4(%ebp).LC15:movl -4(%ebp),%ediflds f(,%edi,4)fstps -24(%ebp)flds .LC4fcomps -24(%ebp)fstsw %axsahfje .LC19flds -24(%ebp)fildl -8(%ebp)fdivp %st(1),%stflds -16(%ebp)fcomppfstsw %axsahfja .LC19cmpl $32,-4(%ebp)jg .LC21pushl -4(%ebp)pushl $.LC23call printfaddl $8,%espjmp .LC22.LC21:pushl -4(%ebp)pushl $.LC24call printfaddl $8,%esp.LC22:flds .LC5movl -4(%ebp),%edifmuls f(,%edi,4)fildl -8(%ebp)fdivp %st(1),%stsubl $8,%espfstpl (%esp)pushl $.LC25call printfaddl $12,%esp.LC19:.LC16:incl -4(%ebp)cmpl $127,-4(%ebp)jle .LC15movl $0,%eax.LC1:movl %ebp,%esppopl %edipopl %esipopl %ebxpopl %ebpret.Lf26:.size main,.Lf26-main.bss.globl f.align 4.type f,@object.size f,512.comm f,512.data.align 1.LC25:.byte 9.byte 37.byte 46.byte 49.byte 102.byte 10.byte 0.align 1.LC24:.byte 37.byte 99.byte 0.align 1.LC23:.byte 37.byte 48.byte 51.byte 111.byte 0.align 1.LC14:.byte 99.byte 104.byte 97.byte 114.byte 9.byte 102.byte 114.byte 101.byte 113.byte 10.byte 0.align 4.LC13:.long 1065353216.align 4.LC5:.long 1120403456.align 4.LC4:.long 0.text.ident "LCC: 4.1"

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?