📄 yacc.sbk
字号:
.section ".data".global yyin.type yyin,#object.size yyin,4.align 4yyin:.word 0x0.global yyout.type yyout,#object.size yyout,4.align 4yyout:.word 0x0.global yylex.section ".text".align 4yylex:save %sp,-96,%spba .L4; nop.L3:.L6:cmp %i5,-1; bl .L7; nopcmp %i5,4; bg .L7; nopsll %i5,2,%i4set .L18+4,%i3ld [%i4+%i3],%i4jmp %i4; nop.section ".rodata".align 4.L18:.word .L8.word .L9.word .L12.word .L13.word .L8.word .L15.section ".text".L9:call yywrap; nopcmp %o0,0; be .L8; nopmov %g0,%i0ba .L2; nop.L12:set 257,%i0ba .L2; nop.L13:set 258,%i0ba .L2; nop.L15:set yytext,%i4ldsb [%i4],%i0ba .L2; nop.L7:set yyout,%i4ld [%i4],%o0set .L17,%o1mov %i5,%o2call fprintf; nop.L8:.L4:call yylook; nopmov %o0,%i5cmp %o0,0; bge .L3; nopmov %g0,%i0.L2:ret; restore.type yylex,#function.size yylex,.-yylex.section ".data".global yyvstop.type yyvstop,#object.align 4yyvstop:.word 0x0.word 0x4.word 0x0.word 0x3.word 0x4.word 0x0.word 0x2.word 0x4.word 0x0.word 0x1.word 0x4.word 0x0.word 0x2.word 0x0.word 0x1.word 0x0.word 0x0.size yyvstop,68.global yycrank.type yycrank,#object.align 1yycrank:.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x1.byte 0x3.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x1.byte 0x4.byte 0x1.byte 0x3.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x1.byte 0x5.byte 0x5.byte 0x7.byte 0x5.byte 0x7.byte 0x5.byte 0x7.byte 0x5.byte 0x7.byte 0x5.byte 0x7.byte 0x5.byte 0x7.byte 0x5.byte 0x7.byte 0x5.byte 0x7.byte 0x5.byte 0x7.byte 0x5.byte 0x7.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x1.byte 0x6.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x6.byte 0x8.byte 0x0.byte 0x0.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x6.byte 0x8.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.byte 0x0.size yycrank,290.global yysvec.type yysvec,#object.align 4yysvec:.word 0x0.word 0x0.word 0x0.word yycrank-2.word 0x0.word 0x0.word yycrank.word yysvec+12.word 0x0.word yycrank.word 0x0.word yyvstop+4.word yycrank.word 0x0.word yyvstop+12.word yycrank+4.word 0x0.word yyvstop+24.word yycrank+38.word 0x0.word yyvstop+36.word yycrank.word yysvec+60.word yyvstop+48.word yycrank.word yysvec+72.word yyvstop+56.word 0x0.word 0x0.word 0x0.size yysvec,120.global yytop.type yytop,#object.size yytop,4.align 4yytop:.word yycrank+282.global yybgin.type yybgin,#object.size yybgin,4.align 4yybgin:.word yysvec+12.global yymatch.type yymatch,#object.align 1yymatch:.byte 0.byte 1.byte 1.byte 1.byte 1.byte 1.byte 1.byte 1.byte 1.byte 9.byte 10.byte 1.byte 1.byte 1.byte 1.byte 1.byte 1.byte 1.byte 1.byte 1.byte 1.byte 1.byte 1.byte 1.byte 1.byte 1.byte 1.byte 1.byte 1.byte 1.byte 1.byte 1.byte 9.byte 1.byte 1.byte 1.byte 1.byte 1.byte 1.byte 1.byte 1.byte 1.byte 1.byte 1.byte 1.byte 1.byte 1.byte 1.byte 48.byte 48.byte 48.byte 48.byte 48.byte 48.byte 48.byte 48.byte 48.byte 48.byte 1.byte 1.byte 1.byte 1.byte 1.byte 1.byte 1.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 1.byte 1.byte 1.byte 1.byte 65.byte 1.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 65.byte 1.byte 1.byte 1.byte 1.byte 1.byte 0.size yymatch,129.global yyextra.type yyextra,#object.align 1yyextra:.byte 0.byte 0.byte 0.byte 0.byte 0.byte 0.byte 0.byte 0.byte 0.size yyextra,9.global yylineno.type yylineno,#object.size yylineno,4.align 4yylineno:.word 0x1.global yysptr.type yysptr,#object.size yysptr,4.align 4yysptr:.word yysbuf.global yyprevious.type yyprevious,#object.size yyprevious,4.align 4yyprevious:.word 0xa.global yylook.section ".text".align 4yylook:save %sp,-96,%spset yymorfg,%l6ld [%l6],%l6cmp %l6,0; bne .L35; nopset yytext,%i2ba .L36; nop.L35:set yymorfg,%l6st %g0,[%l6]set yyleng,%l6ld [%l6],%l6set yytext,%l5add %l6,%l5,%i2.L36:.L37:set yylstate,%i4set yybgin,%l6ld [%l6],%l6mov %l6,%i5set yyestate,%l5st %l6,[%l5]set yyprevious,%l6ld [%l6],%l6cmp %l6,10; bne .L41; nopadd %i5,12,%i5.L41:.L43:ld [%i5],%i3mov %i3,%l6set yycrank,%l5cmp %l6,%l5; bne .L47; nopld [%i5+4],%l7mov %l7,%l6cmp %l6,%g0; bne .L49; nopba .L94; nop.L49:ld [%l7],%l6set yycrank,%l5cmp %l6,%l5; bne .L51; nopba .L94; nop.L51:.L47:mov %i2,%l3add %l3,1,%i2set yysptr,%l2ld [%l2],%l2set yysbuf,%l1cmp %l2,%l1; bleu .L61; nopset yysptr,%l2ld [%l2],%l1add %l1,-1,%l1st %l1,[%l2]ldsb [%l1],%l4ba .L62; nop.L61:set yyin,%l2ld [%l2],%l2ld [%l2],%l1sub %l1,1,%l1st %l1,[%l2]cmp %l1,0; bge .L63; nopset yyin,%l2ld [%l2],%o0call __filbuf; nopmov %o0,%l2st %l2,[%fp+-4]ba .L64; nop.L63:set yyin,%l2ld [%l2],%l2add %l2,4,%l2ld [%l2],%l1add %l1,1,%l0st %l0,[%l2]ldub [%l1],%l2st %l2,[%fp+-4].L64:ld [%fp+-4],%l4.L62:set yytchar,%l2st %l4,[%l2]cmp %l4,10; bne .L59; nopset yylineno,%l2ld [%l2],%l1add %l1,1,%l1st %l1,[%l2]set yytchar,%l2ld [%l2],%l5ba .L60; nop.L59:set yytchar,%l2ld [%l2],%l5.L60:cmp %l5,-1; bne .L57; nopmov %g0,%l6ba .L58; nop.L57:set yytchar,%l2ld [%l2],%l6.L58:mov %l6,%i1mov %l6,%l2stb %l2,[%l3].L65:mov %i3,%i0mov %i3,%l3set yycrank,%l2cmp %l3,%l2; bleu .L66; nopsll %i1,1,%l3add %l3,%i0,%i3mov %i3,%l3set yytop,%l2ld [%l2],%l2cmp %l3,%l2; bgu .L67; nopldsb [%i3],%l3smul %l3,12,%l3set yysvec,%l2add %l3,%l2,%l3mov %i5,%l2cmp %l3,%l2; bne .L67; nopset yysvec,%l3ldsb [%i3+1],%l2smul %l2,12,%l2add %l2,%l3,%l2cmp %l2,%l3; bne .L70; nopadd %i2,-1,%l3mov %l3,%i2set yytchar,%l2ldsb [%l3],%l3st %l3,[%l2]ld [%l2],%l3cmp %l3,10; bne .L72; nopset yylineno,%l3ld [%l3],%l2sub %l2,1,%l2st %l2,[%l3].L72:set yysptr,%l3ld [%l3],%l2add %l2,1,%l1st %l1,[%l3]set yytchar,%l3ld [%l3],%l3stb %l3,[%l2]ba .L94; nop.L70:mov %i4,%l3add %l3,4,%i4ldsb [%i3+1],%l2smul %l2,12,%l2set yysvec,%l1add %l2,%l1,%l2mov %l2,%i5st %l2,[%l3]ba .L43; nop.L66:mov %i3,%l3set yycrank,%l2cmp %l3,%l2; bgeu .L75; nopset yycrank,%l3mov %l3,%l2mov %i3,%l1sub %l2,%l1,%l2sra %l2,31,%g1; wr %g0,%g1,%y; nop; nop; nop; sdiv %l2,2,%l2sll %l2,1,%l2add %l2,%l3,%l3mov %l3,%i0mov %l3,%i3sll %i1,1,%l3add %l3,%i3,%i3mov %i3,%l3set yytop,%l2ld [%l2],%l2cmp %l3,%l2; bgu .L77; nopldsb [%i3],%l3smul %l3,12,%l3set yysvec,%l2add %l3,%l2,%l3mov %i5,%l2cmp %l3,%l2; bne .L77; nopset yysvec,%l3ldsb [%i3+1],%l2smul %l2,12,%l2add %l2,%l3,%l2cmp %l2,%l3; bne .L79; nopadd %i2,-1,%l3mov %l3,%i2set yytchar,%l2ldsb [%l3],%l3st %l3,[%l2]ld [%l2],%l3cmp %l3,10; bne .L81; nopset yylineno,%l3ld [%l3],%l2sub %l2,1,%l2st %l2,[%l3].L81:set yysptr,%l3ld [%l3],%l2add %l2,1,%l1st %l1,[%l3]set yytchar,%l3ld [%l3],%l3stb %l3,[%l2]ba .L94; nop.L79:mov %i4,%l3add %l3,4,%i4ldsb [%i3+1],%l2smul %l2,12,%l2set yysvec,%l1add %l2,%l1,%l2mov %l2,%i5st %l2,[%l3]ba .L43; nop.L77:set yymatch,%l3ldsb [%i1+%l3],%l3sll %l3,1,%l3add %l3,%i0,%i3mov %i3,%l3set yytop,%l2ld [%l2],%l2cmp %l3,%l2; bgu .L83; nopldsb [%i3],%l3smul %l3,12,%l3set yysvec,%l2add %l3,%l2,%l3mov %i5,%l2cmp %l3,%l2; bne .L83; nopset yysvec,%l3ldsb [%i3+1],%l2smul %l2,12,%l2add %l2,%l3,%l2cmp %l2,%l3; bne .L85; nopadd %i2,-1,%l3mov %l3,%i2set yytchar,%l2ldsb [%l3],%l3st %l3,[%l2]ld [%l2],%l3cmp %l3,10; bne .L87; nopset yylineno,%l3ld [%l3],%l2sub %l2,1,%l2st %l2,[%l3].L87:set yysptr,%l3ld [%l3],%l2add %l2,1,%l1st %l1,[%l3]set yytchar,%l3ld [%l3],%l3stb %l3,[%l2]ba .L94; nop.L85:mov %i4,%l3add %l3,4,%i4ldsb [%i3+1],%l2smul %l2,12,%l2set yysvec,%l1add %l2,%l1,%l2mov %l2,%i5st %l2,[%l3]ba .L43; nop.L83:.L75:.L67:ld [%i5+4],%l3mov %l3,%i5cmp %l3,%g0; be .L89; nopld [%i5],%l3mov %l3,%i3set yycrank,%l2cmp %l3,%l2; be .L89; nopba .L65; nop.L89:add %i2,-1,%l3mov %l3,%i2set yytchar,%l2ldsb [%l3],%l3st %l3,[%l2]ld [%l2],%l3cmp %l3,10; bne .L91; nopset yylineno,%l3ld [%l3],%l2sub %l2,1,%l2st %l2,[%l3].L91:set yysptr,%l3ld [%l3],%l2add %l2,1,%l1st %l1,[%l3]set yytchar,%l3ld [%l3],%l3stb %l3,[%l2]ba .L94; nop.L93:mov %i2,%l6add %l6,-1,%i2stb %g0,[%l6]ld [%i4],%l6mov %l6,%l4cmp %l4,%g0; be .L96; nopset yyfnd,%l4ld [%l6+8],%l6st %l6,[%l4]cmp %l6,%g0; be .L96; nopld [%l4],%l6ld [%l6],%l6cmp %l6,0; ble .L96; nopset yyolsp,%l6st %i4,[%l6]set yyfnd,%l6ld [%l6],%l6ld [%l6],%l6set yyextra,%l5ldsb [%l6+%l5],%l6cmp %l6,0; be .L98; nopba .L101; nop.L100:add %i4,-4,%i4mov %i2,%l6add %l6,-1,%i2set yytchar,%l5ldsb [%l6],%l6st %l6,[%l5]ld [%l5],%l6cmp %l6,10; bne .L103; nopset yylineno,%l6ld [%l6],%l5sub %l5,1,%l5st %l5,[%l6].L103:set yysptr,%l6ld [%l6],%l5add %l5,1,%l4st %l4,[%l6]set yytchar,%l6ld [%l6],%l6stb %l6,[%l5].L101:ld [%i4],%l6ld [%l6+8],%o0set yyfnd,%l6ld [%l6],%l6ld [%l6],%l6neg %l6,%o1call yyback; nopcmp %o0,1; be .L105; nopmov %i4,%l6set yylstate,%l5cmp %l6,%l5; bgu .L100; nop.L105:.L98:set yyprevious,%l6ldsb [%i2],%l5st %l5,[%l6]set yylsp,%l6st %i4,[%l6]set yyleng,%l6set yytext,%l5mov %i2,%l4mov %l5,%l3sub %l4,%l3,%l4add %l4,1,%l4st %l4,[%l6]ld [%l6],%l6stb %g0,[%l6+%l5]set yyfnd,%l6ld [%l6],%l5add %l5,4,%l4st %l4,[%l6]ld [%l5],%i0ba .L34; nop.L96:set yytchar,%l6ldsb [%i2],%l5st %l5,[%l6]ld [%l6],%l6cmp %l6,10; bne .L106; nopset yylineno,%l6ld [%l6],%l5sub %l5,1,%l5st %l5,[%l6].L106:set yysptr,%l6ld [%l6],%l5add %l5,1,%l4st %l4,[%l6]set yytchar,%l6ld [%l6],%l6stb %l6,[%l5].L94:mov %i4,%l6add %l6,-4,%i4set yylstate,%l5cmp %l6,%l5; bgu .L93; nopset yytext,%l6ldsb [%l6],%l6cmp %l6,0; bne .L108; nopset yysptr,%l6set yysbuf,%l5st %l5,[%l6]mov %g0,%i0ba .L34; nop.L108:set yysptr,%l3ld [%l3],%l3set yysbuf,%l2cmp %l3,%l2; bleu .L118; nopset yysptr,%l3ld [%l3],%l2add %l2,-1,%l2st %l2,[%l3]ldsb [%l2],%l4ba .L119; nop.L118:set yyin,%l3ld [%l3],%l3ld [%l3],%l2sub %l2,1,%l2st %l2,[%l3]cmp %l2,0; bge .L120; nopset yyin,%l3ld [%l3],%o0call __filbuf; nopmov %o0,%l3st %l3,[%fp+-4]ba .L121; nop.L120:set yyin,%l3ld [%l3],%l3add %l3,4,%l3ld [%l3],%l2add %l2,1,%l1st %l1,[%l3]ldub [%l2],%l3st %l3,[%fp+-4].L121:ld [%fp+-4],%l4.L119:set yytchar,%l3st %l4,[%l3]cmp %l4,10; bne .L116; nopset yylineno,%l3ld [%l3],%l2add %l2,1,%l2st %l2,[%l3]set yytchar,%l3ld [%l3],%l5ba .L117; nop.L116:set yytchar,%l3ld [%l3],%l5.L117:cmp %l5,-1; bne .L114; nopmov %g0,%l6ba .L115; nop.L114:set yytchar,%l3ld [%l3],%l6.L115:set yytext,%l2stb %l6,[%l2]set yyprevious,%l2sll %l6,8*(4-1),%l3; sra %l3,8*(4-1),%l3st %l3,[%l2]set yyprevious,%l3ld [%l3],%l3cmp %l3,0; ble .L122; nopset yyout,%l3ld [%l3],%l3ld [%l3],%l2sub %l2,1,%l2st %l2,[%l3]cmp %l2,0; bge .L125; nopset yyprevious,%l3ld [%l3],%l3and %l3,0xff,%l3mov %l3,%o0set yyout,%l3ld [%l3],%o1call __flsbuf; nopba .L126; nop.L125:set yyout,%l3ld [%l3],%l3add %l3,4,%l3ld [%l3],%l2add %l2,1,%l1st %l1,[%l3]set yyprevious,%l3ld [%l3],%l3stb %l3,[%l2].L126:.L122:set yytext,%i2ba .L37; nop.L34:ret; restore.type yylook,#function.size yylook,.-yylook.global yyback.align 4yyback:save %sp,-96,%spmov %i0,%i5cmp %i5,%g0; bne .L131; nopmov %g0,%i0ba .L127; nop.L130:mov %i0,%i5add %i5,4,%i0ld [%i5],%i5cmp %i5,%i1; bne .L133; nopset 1,%i0ba .L127; nop.L133:.L131:ld [%i0],%i5cmp %i5,0; bne .L130; nopmov %g0,%i0.L127:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -