⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cq.sbk

📁 lcc source code enjoy your self
💻 SBK
📖 第 1 页 / 共 5 页
字号:
stb %i2,[%fp+-142]
set 1,%i2
stb %i2,[%fp+-174]
set 1,%i2
stb %i2,[%fp+-163]
set 1,%i2
stb %i2,[%fp+-141]
set 1,%i2
stb %i2,[%fp+-173]
set 1,%i2
stb %i2,[%fp+-213]
set 1,%i2
stb %i2,[%fp+-164]
set 1,%i2
stb %i2,[%fp+-140]
set 1,%i2
stb %i2,[%fp+-172]
set 1,%i2
stb %i2,[%fp+-197]
set 1,%i2
stb %i2,[%fp+-217]
set 1,%i2
stb %i2,[%fp+-139]
set 1,%i2
stb %i2,[%fp+-171]
set 1,%i2
stb %i2,[%fp+-214]
set 1,%i2
stb %i2,[%fp+-138]
set 1,%i2
stb %i2,[%fp+-170]
set 1,%i2
stb %i2,[%fp+-198]
set 1,%i2
stb %i2,[%fp+-256]
stb %i2,[%fp+-137]
set 1,%i2
stb %i2,[%fp+-169]
set 1,%i2
stb %i2,[%fp+-196]
set 1,%i2
stb %i2,[%fp+-224]
set 1,%i2
stb %i2,[%fp+-136]
set 1,%i2
stb %i2,[%fp+-168]
set 1,%i2
stb %i2,[%fp+-194]
set 1,%i2
stb %i2,[%fp+-135]
set 1,%i2
stb %i2,[%fp+-167]
set 1,%i2
stb %i2,[%fp+-212]
set 1,%i2
stb %i2,[%fp+-134]
set 1,%i2
stb %i2,[%fp+-166]
set 1,%i2
stb %i2,[%fp+-210]
set 1,%i2
stb %i2,[%fp+-193]
set 1,%i2
stb %i2,[%fp+-209]
add -256,%fp,%o0
call sumof; nop
cmp %o0,98; be .L309; nop
add %i3,1,%i3
ld [%i0+44],%i2
cmp %i2,0; be .L311; nop
set .207,%o0
set 1,%o1
call printf; nop
.L311:
.L309:
ba .L313; nop
add %i3,8,%i3
ld [%i0+44],%i2
cmp %i2,0; be .L315; nop
set .207,%o0
set 8,%o1
call printf; nop
.L315:
.L313:
mov %i3,%i0
.L206:
ret; restore
.type s243,#function
.size s243,.-s243
.global zerofill
.align 4
zerofill:
mov %g0,%o5
.L318:
mov %o0,%o4
add %o4,1,%o0
stb %g0,[%o4]
.L319:
add %o5,1,%o5
cmp %o5,256; bl .L318; nop
mov %g0,%o0
.L317:
retl; nop
.type zerofill,#function
.size zerofill,.-zerofill
.global sumof
.align 4
sumof:
mov %o0,%o3
mov %g0,%o5
mov %g0,%o4
.L323:
mov %o3,%o2
add %o2,1,%o3
ldsb [%o2],%o2
add %o5,%o2,%o5
.L324:
add %o4,1,%o4
cmp %o4,256; bl .L323; nop
mov %o5,%o0
.L322:
retl; nop
.type sumof,#function
.size sumof,.-sumof
.section ".data"
.type .328,#object
.align 1
.328:
.byte 115
.byte 50
.byte 52
.byte 52
.byte 44
.byte 101
.byte 114
.byte 37
.byte 100
.byte 10
.byte 0
.size .328,11
.type .329,#object
.size .329,8
.align 1
.329:
.byte 115
.byte 50
.byte 52
.byte 52
.byte 32
.byte 32
.byte 32
.byte 0
.global s244
.section ".text"
.align 4
s244:
save %sp,-160,%sp
set .329,%i4
add %i0,60,%i3
.L330:
.L331:
mov %i3,%l7
add %l7,1,%i3
mov %i4,%l6
add %l6,1,%i4
ldsb [%l6],%l6
stb %l6,[%l7]
sll %l6,8*(4-1),%l7; sra %l7,8*(4-1),%l7
cmp %l7,0; bne .L330; nop
mov %g0,%i1
mov %g0,%i2
set .L333,%l7
ld [%l7],%f30; ld [%l7+4],%f31
std %f30,[%fp+-64]
std %f30,[%fp+-56]
set .L333,%l7
ld [%l7],%f30; ld [%l7+4],%f31
std %f30,[%fp+-48]
set .L333,%l7
ld [%l7],%f30; ld [%l7+4],%f31
std %f30,[%fp+-40]
set .L333,%l7
ld [%l7],%f30; ld [%l7+4],%f31
std %f30,[%fp+-32]
set .L333,%l7
ld [%l7],%f30; ld [%l7+4],%f31
std %f30,[%fp+-24]
set .L333,%l7
ld [%l7],%f30; ld [%l7+4],%f31
std %f30,[%fp+-16]
set .L333,%l7
ld [%l7],%f30; ld [%l7+4],%f31
std %f30,[%fp+-8]
mov %g0,%i2
mov %g0,%i5
.L341:
sll %i5,3,%l7
add -64,%fp,%l6
add %l7,%l6,%l6
ld [%l6],%f30; ld [%l6+4],%f31
add -56,%fp,%l6
add %l7,%l6,%l7
ld [%l7],%f28; ld [%l7+4],%f29
fcmpd %f30,%f28; nop; fbe .L345; nop
set 1,%i2
.L345:
.L342:
add %i5,1,%i5
cmp %i5,7; bl .L341; nop
cmp %i2,0; be .L348; nop
ld [%i0+44],%l7
cmp %l7,0; be .L350; nop
set .328,%o0
set 1,%o1
call printf; nop
.L350:
add %i1,1,%i1
.L348:
ba .L352; nop
ld [%i0+44],%l7
cmp %l7,0; be .L354; nop
set .328,%o0
set 2,%o1
call printf; nop
.L354:
add %i1,2,%i1
.L352:
mov %i1,%i0
.L327:
ret; restore
.type s244,#function
.size s244,.-s244
.section ".data"
.type .357,#object
.align 1
.357:
.byte 115
.byte 50
.byte 53
.byte 44
.byte 101
.byte 114
.byte 37
.byte 100
.byte 10
.byte 0
.size .357,10
.type .358,#object
.size .358,8
.align 1
.358:
.byte 115
.byte 50
.byte 53
.byte 32
.byte 32
.byte 32
.byte 32
.byte 0
.global s25
.section ".text"
.align 4
s25:
save %sp,-96,%sp
set .358,%i2
add %i0,60,%i1
.L359:
.L360:
mov %i1,%l5
add %l5,1,%i1
mov %i2,%l4
add %l4,1,%i2
ldsb [%l4],%l4
stb %l4,[%l5]
sll %l4,8*(4-1),%l5; sra %l5,8*(4-1),%l5
cmp %l5,0; bne .L359; nop
mov %g0,%l7
set .L362,%i4
ldsb [%i4+1],%l5
ldsb [%i4],%l4
cmp %l4,%l5; bne .L366; nop
ldsb [%i4+2],%l4
cmp %l5,%l4; bne .L366; nop
cmp %l4,46; be .L363; nop
.L366:
add %l7,1,%l7
ld [%i0+44],%l5
cmp %l5,0; be .L367; nop
set .357,%o0
set 1,%o1
call printf; nop
.L367:
.L363:
ldsb [%i4+3],%l5
cmp %l5,0; be .L369; nop
add %l7,4,%l7
ld [%i0+44],%l5
cmp %l5,0; be .L371; nop
set .357,%o0
set 4,%o1
call printf; nop
.L371:
.L369:
set .L375+1,%l5
ldsb [%l5],%l5
cmp %l5,34; be .L373; nop
add %l7,8,%l7
ld [%i0+44],%l5
cmp %l5,0; be .L377; nop
set .357,%o0
set 8,%o1
call printf; nop
.L377:
.L373:
set .L379,%i4
ldsb [%i4],%l5
cmp %l5,10; bne .L387; nop
ldsb [%i4+1],%l5
cmp %l5,9; bne .L387; nop
ldsb [%i4+2],%l5
cmp %l5,8; bne .L387; nop
ldsb [%i4+3],%l5
cmp %l5,13; bne .L387; nop
ldsb [%i4+4],%l5
cmp %l5,12; bne .L387; nop
ldsb [%i4+5],%l5
cmp %l5,92; bne .L387; nop
ldsb [%i4+6],%l5
cmp %l5,39; be .L380; nop
.L387:
add %l7,16,%l7
ld [%i0+44],%l5
cmp %l5,0; be .L388; nop
set .357,%o0
set 16,%o1
call printf; nop
.L388:
.L380:
set .L390,%l5
mov %l5,%i3
mov %l5,%i4
mov %g0,%l6
mov %g0,%i5
ba .L394; nop
.L391:
ldsb [%i5+%i4],%l5
ldsb [%i5+%i3],%l4
cmp %l5,%l4; be .L395; nop
set 1,%l6
.L395:
.L392:
add %i5,1,%i5
.L394:
mov %i5,%l5
set 7,%l4
cmp %l5,%l4; blu .L391; nop
cmp %l6,0; be .L397; nop
add %l7,32,%l7
ld [%i0+44],%l5
cmp %l5,0; be .L399; nop
set .357,%o0
set 32,%o1
call printf; nop
.L399:
.L397:
mov %l7,%i0
.L356:
ret; restore
.type s25,#function
.size s25,.-s25
.section ".data"
.type .402,#object
.size .402,8
.align 1
.402:
.byte 115
.byte 50
.byte 54
.byte 32
.byte 32
.byte 32
.byte 32
.byte 0
.type .403,#object
.align 1
.403:
.byte 37
.byte 51
.byte 100
.byte 32
.byte 98
.byte 105
.byte 116
.byte 115
.byte 32
.byte 105
.byte 110
.byte 32
.byte 37
.byte 115
.byte 115
.byte 46
.byte 10
.byte 0
.size .403,18
.type .404,#object
.align 1
.404:
.byte 37
.byte 101
.byte 32
.byte 105
.byte 115
.byte 32
.byte 116
.byte 104
.byte 101
.byte 32
.byte 108
.byte 101
.byte 97
.byte 115
.byte 116
.byte 32
.byte 110
.byte 117
.byte 109
.byte 98
.byte 101
.byte 114
.byte 32
.byte 116
.byte 104
.byte 97
.byte 116
.byte 32
.byte 99
.byte 97
.byte 110
.byte 32
.byte 98
.byte 101
.byte 32
.byte 97
.byte 100
.byte 100
.byte 101
.byte 100
.byte 32
.byte 116
.byte 111
.byte 32
.byte 49
.byte 46
.byte 32
.byte 40
.byte 37
.byte 115
.byte 41
.byte 46
.byte 10
.byte 0
.size .404,54
.global s26
.section ".text"
.align 4
s26:
save %sp,-128,%sp
set .402,%i4
add %i0,60,%i3
.L405:
.L406:
mov %i3,%i1
add %i1,1,%i3
mov %i4,%l7
add %l7,1,%i4
ldsb [%l7],%l7
stb %l7,[%i1]
sll %l7,8*(4-1),%i1; sra %i1,8*(4-1),%i1
cmp %i1,0; bne .L405; nop
st %g0,[%i0]
mov %g0,%i2
set 1,%i5
ba .L409; nop
.L408:
sll %i5,8*(4-1),%i1; sra %i1,8*(4-1),%i1
sll %i1,1,%i1
mov %i1,%i5
ld [%i0],%i1
add %i1,1,%i1
st %i1,[%i0]
.L409:
sll %i2,8*(4-1),%i1; sra %i1,8*(4-1),%i1
sll %i5,8*(4-1),%l7; sra %l7,8*(4-1),%l7
cmp %i1,%l7; bne .L408; nop
ld [%i0],%i1
sll %i1,2,%i1
st %i1,[%i0+4]
ld [%i0],%i1
sll %i1,1,%i1
st %i1,[%i0+8]
ld [%i0],%i1
sll %i1,2,%i1
st %i1,[%i0+12]
ld [%i0],%i1
sll %i1,2,%i1
st %i1,[%i0+16]
ld [%i0],%i1
sll %i1,2,%i1
st %i1,[%i0+20]
ld [%i0],%i1
sll %i1,3,%i1
st %i1,[%i0+24]
set .L411,%i1
ld [%i1],%f31
st %f31,[%fp+-12]
st %f31,[%fp+-4]
set .L412,%i1
ld [%i1],%f31
st %f31,[%fp+-8]
ba .L414; nop
.L413:
ld [%fp+-4],%f31
ld [%fp+-12],%f30
fadds %f30,%f31,%f30
st %f30,[%fp+-8]
fstod %f31,%f30
set .L416,%i1
ld [%i1],%f28; ld [%i1+4],%f29
fdivd %f30,%f28,%f30
fdtos %f30,%f31
st %f31,[%fp+-4]
.L414:
ld [%fp+-8],%f31
ld [%fp+-12],%f30
fcmps %f31,%f30; nop; fbne .L413; nop
set .L417,%i1
ld [%i1],%f30; ld [%i1+4],%f31
ld [%fp+-4],%f29
fstod %f29,%f28
fmuld %f30,%f28,%f30
fdtos %f30,%f31
st %f31,[%i0+28]
set .L418,%i1
ld [%i1],%f30; ld [%i1+4],%f31
std %f30,[%fp+-32]
set .L411,%i1
ld [%i1],%f31
st %f31,[%fp+-4]
set .L419,%i1
ld [%i1],%f30; ld [%i1+4],%f31
std %f30,[%fp+-24]
ba .L421; nop
.L420:
ld [%fp+-4],%f31
fstod %f31,%f30
ldd [%fp+-32],%f28
faddd %f28,%f30,%f28
std %f28,[%fp+-24]
set .L416,%i1
ld [%i1],%f28; ld [%i1+4],%f29
fdivd %f30,%f28,%f30
fdtos %f30,%f31
st %f31,[%fp+-4]
.L421:
ldd [%fp+-24],%f30
ldd [%fp+-32],%f28
fcmpd %f30,%f28; nop; fbne .L420; nop
set .L417,%i1
ld [%i1],%f30; ld [%i1+4],%f31
ld [%fp+-4],%f29
fstod %f29,%f28
fmuld %f30,%f28,%f30
fdtos %f30,%f31
st %f31,[%i0+32]
ld [%i0+40],%i1
cmp %i1,0; be .L423; nop
set .403,%o0
ld [%i0],%o1
set .L425,%o2
call printf; nop
set .403,%o0
ld [%i0+4],%o1
set .L426,%o2
call printf; nop
set .403,%o0
ld [%i0+8],%o1
set .L427,%o2
call printf; nop
set .403,%o0
ld [%i0+12],%o1
set .L428,%o2
call printf; nop
set .403,%o0
ld [%i0+16],%o1
set .L429,%o2
call printf; nop
set .403,%o0
ld [%i0+20],%o1
set .L430,%o2
call printf; nop
set .403,%o0
ld [%i0+24],%o1
set .L431,%o2
call printf; nop
set .404,%o0
ld [%i0+28],%f31
fstod %f31,%f30
st %f30,[%sp+4*1+68]
st %f31,[%sp+4*2+68]
ld [%sp+4*1+68],%o1
ld [%sp+4*2+68],%o2
set .L430,%o3
call printf; nop
set .404,%o0
ld [%i0+32],%f31
fstod %f31,%f30
st %f30,[%sp+4*1+68]
st %f31,[%sp+4*2+68]
ld [%sp+4*1+68],%o1
ld [%sp+4*2+68],%o2
set .L431,%o3
call printf; nop
.L423:
mov %g0,%i0
.L401:
ret; restore
.type s26,#function
.size s26,.-s26
.section ".data"
.type .433,#object
.align 1
.433:
.byte 115
.byte 52
.byte 44
.byte 101
.byte 114
.byte 37
.byte 100
.byte 10
.byte 0
.size .433,9
.type .434,#object
.size .434,8
.align 1
.434:
.byte 115
.byte 52
.byte 32
.byte 32
.byte 32
.byte 32
.byte 32
.byte 0
.global s4
.section ".text"
.align 4
s4:
save %sp,-96,%sp
mov %g0,%l7
set .434,%i2
add %i0,60,%i1
.L435:
.L436:
mov %i1,%l3
add %l3,1,%i1
mov %i2,%l2
add %l2,1,%i2
ldsb [%l2],%l2
stb %l2,[%l3]
sll %l2,8*(4-1),%l3; sra %l3,8*(4-1),%l3
cmp %l3,0; bne .L435; nop
mov %g0,%i5
.L438:
mov %i5,%o0
call svtest; nop
mov %o0,%l3
call zero; nop
cmp %l3,%o0; be .L442; nop
set 1,%l7
ld [%i0+44],%l3
cmp %l3,0; be .L444; nop
set .433,%o0
set 1,%o1
call printf; nop
.L444:
.L442:
.L439:
add %i5,1,%i5
cmp %i5,3; bl .L438; nop
call setev; nop
call testev; nop
cmp %o0,0; be .L446; nop
add %l7,2,%l7
ld [%i0+44],%l3
cmp %l3,0; be .L448; nop
set .433,%o0
set 2,%o1
call printf; nop
.L448:
.L446:
ba .L450; nop
add %l7,4,%l7
ld [%i0+44],%l3
cmp %l3,0; be .L452; nop
set .433,%o0
set 4,%o1
call printf; nop
.L452:
.L450:
set 0xffffffff,%i4
set 1,%i3
mov %g0,%i5
ba .L457; nop
.L454:
and %i3,%i4,%i3
srl %i4,1,%i4
.L455:
add %i5,1,%i5
.L457:
mov %i5,%l3
ld [%i0],%l2
sll %l2,2,%l2
cmp %l3,%l2; blu .L454; nop
set 1,%l3
cmp %i3,%l3; bne .L460; nop
cmp %i4,%g0; be .L458; nop
.L460:
add %l7,8,%l7
ld [%i0+44],%l3
cmp %l3,0; be .L461; nop
set .433,%o0
set 8,%o1
call printf; nop
.L461:
.L458:
mov %l7,%i0
.L432:
ret; restore
.type s4,#function
.size s4,.-s4
.section ".bss"
.type .464,#object
.size .464,4
.local .464
.common .464,4,4
.global svtest
.section ".text"
.align 4
svtest:
cmp %o0,0; be .L467; nop
cmp %o0,1; be .L468; nop
cmp %o0,2; be .L471; nop
ba .L465; nop
.L467:
set .464,%o4
set 1978,%o3
st %o3,[%o4]
mov %g0,%o5
ba .L466; nop
.L468:
set .464,%o4
ld [%o4],%o4
cmp %o4,1978; be .L469; nop
set 1,%o5
ba .L466; nop
.L469:
set .464,%o4
set 1929,%o3
st %o3,[%o4]
mov %g0,%o5
ba .L466; nop
.L471:
set .464,%o4
ld [%o4],%o4
cmp %o4,1929; be .L472; nop
set 1,%o5
ba .L466; nop
.L472:
mov %g0,%o5
.L465:
.L466:
mov %o5,%o0
.L463:
retl; nop
.type svtest,#function
.size svtest,.-svtest
.section ".bss"
.type .475,#object

⌨️ 快捷键说明

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