📄 yacc.sbk
字号:
smul %l2,12,%l2
set yysvec,%l1
add %l2,%l1,%l2
mov %l2,%i5
st %l2,[%l3]
ba .L43; nop
.L66:
mov %i3,%l3
set yycrank,%l2
cmp %l3,%l2; bgeu .L75; nop
set yycrank,%l3
mov %l3,%l2
mov %i3,%l1
sub %l2,%l1,%l2
sra %l2,31,%g1; wr %g0,%g1,%y; nop; nop; nop; sdiv %l2,2,%l2
sll %l2,1,%l2
add %l2,%l3,%l3
mov %l3,%i0
mov %l3,%i3
sll %i1,1,%l3
add %l3,%i3,%i3
mov %i3,%l3
set yytop,%l2
ld [%l2],%l2
cmp %l3,%l2; bgu .L77; nop
ldsb [%i3],%l3
smul %l3,12,%l3
set yysvec,%l2
add %l3,%l2,%l3
mov %i5,%l2
cmp %l3,%l2; bne .L77; nop
set yysvec,%l3
ldsb [%i3+1],%l2
smul %l2,12,%l2
add %l2,%l3,%l2
cmp %l2,%l3; bne .L79; nop
add %i2,-1,%l3
mov %l3,%i2
set yytchar,%l2
ldsb [%l3],%l3
st %l3,[%l2]
ld [%l2],%l3
cmp %l3,10; bne .L81; nop
set yylineno,%l3
ld [%l3],%l2
sub %l2,1,%l2
st %l2,[%l3]
.L81:
set yysptr,%l3
ld [%l3],%l2
add %l2,1,%l1
st %l1,[%l3]
set yytchar,%l3
ld [%l3],%l3
stb %l3,[%l2]
ba .L94; nop
.L79:
mov %i4,%l3
add %l3,4,%i4
ldsb [%i3+1],%l2
smul %l2,12,%l2
set yysvec,%l1
add %l2,%l1,%l2
mov %l2,%i5
st %l2,[%l3]
ba .L43; nop
.L77:
set yymatch,%l3
ldsb [%i1+%l3],%l3
sll %l3,1,%l3
add %l3,%i0,%i3
mov %i3,%l3
set yytop,%l2
ld [%l2],%l2
cmp %l3,%l2; bgu .L83; nop
ldsb [%i3],%l3
smul %l3,12,%l3
set yysvec,%l2
add %l3,%l2,%l3
mov %i5,%l2
cmp %l3,%l2; bne .L83; nop
set yysvec,%l3
ldsb [%i3+1],%l2
smul %l2,12,%l2
add %l2,%l3,%l2
cmp %l2,%l3; bne .L85; nop
add %i2,-1,%l3
mov %l3,%i2
set yytchar,%l2
ldsb [%l3],%l3
st %l3,[%l2]
ld [%l2],%l3
cmp %l3,10; bne .L87; nop
set yylineno,%l3
ld [%l3],%l2
sub %l2,1,%l2
st %l2,[%l3]
.L87:
set yysptr,%l3
ld [%l3],%l2
add %l2,1,%l1
st %l1,[%l3]
set yytchar,%l3
ld [%l3],%l3
stb %l3,[%l2]
ba .L94; nop
.L85:
mov %i4,%l3
add %l3,4,%i4
ldsb [%i3+1],%l2
smul %l2,12,%l2
set yysvec,%l1
add %l2,%l1,%l2
mov %l2,%i5
st %l2,[%l3]
ba .L43; nop
.L83:
.L75:
.L67:
ld [%i5+4],%l3
mov %l3,%i5
cmp %l3,%g0; be .L89; nop
ld [%i5],%l3
mov %l3,%i3
set yycrank,%l2
cmp %l3,%l2; be .L89; nop
ba .L65; nop
.L89:
add %i2,-1,%l3
mov %l3,%i2
set yytchar,%l2
ldsb [%l3],%l3
st %l3,[%l2]
ld [%l2],%l3
cmp %l3,10; bne .L91; nop
set yylineno,%l3
ld [%l3],%l2
sub %l2,1,%l2
st %l2,[%l3]
.L91:
set yysptr,%l3
ld [%l3],%l2
add %l2,1,%l1
st %l1,[%l3]
set yytchar,%l3
ld [%l3],%l3
stb %l3,[%l2]
ba .L94; nop
.L93:
mov %i2,%l6
add %l6,-1,%i2
stb %g0,[%l6]
ld [%i4],%l6
mov %l6,%l4
cmp %l4,%g0; be .L96; nop
set yyfnd,%l4
ld [%l6+8],%l6
st %l6,[%l4]
cmp %l6,%g0; be .L96; nop
ld [%l4],%l6
ld [%l6],%l6
cmp %l6,0; ble .L96; nop
set yyolsp,%l6
st %i4,[%l6]
set yyfnd,%l6
ld [%l6],%l6
ld [%l6],%l6
set yyextra,%l5
ldsb [%l6+%l5],%l6
cmp %l6,0; be .L98; nop
ba .L101; nop
.L100:
add %i4,-4,%i4
mov %i2,%l6
add %l6,-1,%i2
set yytchar,%l5
ldsb [%l6],%l6
st %l6,[%l5]
ld [%l5],%l6
cmp %l6,10; bne .L103; nop
set yylineno,%l6
ld [%l6],%l5
sub %l5,1,%l5
st %l5,[%l6]
.L103:
set yysptr,%l6
ld [%l6],%l5
add %l5,1,%l4
st %l4,[%l6]
set yytchar,%l6
ld [%l6],%l6
stb %l6,[%l5]
.L101:
ld [%i4],%l6
ld [%l6+8],%o0
set yyfnd,%l6
ld [%l6],%l6
ld [%l6],%l6
neg %l6,%o1
call yyback; nop
cmp %o0,1; be .L105; nop
mov %i4,%l6
set yylstate,%l5
cmp %l6,%l5; bgu .L100; nop
.L105:
.L98:
set yyprevious,%l6
ldsb [%i2],%l5
st %l5,[%l6]
set yylsp,%l6
st %i4,[%l6]
set yyleng,%l6
set yytext,%l5
mov %i2,%l4
mov %l5,%l3
sub %l4,%l3,%l4
add %l4,1,%l4
st %l4,[%l6]
ld [%l6],%l6
stb %g0,[%l6+%l5]
set yyfnd,%l6
ld [%l6],%l5
add %l5,4,%l4
st %l4,[%l6]
ld [%l5],%i0
ba .L34; nop
.L96:
set yytchar,%l6
ldsb [%i2],%l5
st %l5,[%l6]
ld [%l6],%l6
cmp %l6,10; bne .L106; nop
set yylineno,%l6
ld [%l6],%l5
sub %l5,1,%l5
st %l5,[%l6]
.L106:
set yysptr,%l6
ld [%l6],%l5
add %l5,1,%l4
st %l4,[%l6]
set yytchar,%l6
ld [%l6],%l6
stb %l6,[%l5]
.L94:
mov %i4,%l6
add %l6,-4,%i4
set yylstate,%l5
cmp %l6,%l5; bgu .L93; nop
set yytext,%l6
ldsb [%l6],%l6
cmp %l6,0; bne .L108; nop
set yysptr,%l6
set yysbuf,%l5
st %l5,[%l6]
mov %g0,%i0
ba .L34; nop
.L108:
set yysptr,%l3
ld [%l3],%l3
set yysbuf,%l2
cmp %l3,%l2; bleu .L118; nop
set yysptr,%l3
ld [%l3],%l2
add %l2,-1,%l2
st %l2,[%l3]
ldsb [%l2],%l4
ba .L119; nop
.L118:
set yyin,%l3
ld [%l3],%l3
ld [%l3],%l2
sub %l2,1,%l2
st %l2,[%l3]
cmp %l2,0; bge .L120; nop
set yyin,%l3
ld [%l3],%o0
call __filbuf; nop
mov %o0,%l3
st %l3,[%fp+-4]
ba .L121; nop
.L120:
set yyin,%l3
ld [%l3],%l3
add %l3,4,%l3
ld [%l3],%l2
add %l2,1,%l1
st %l1,[%l3]
ldub [%l2],%l3
st %l3,[%fp+-4]
.L121:
ld [%fp+-4],%l4
.L119:
set yytchar,%l3
st %l4,[%l3]
cmp %l4,10; bne .L116; nop
set yylineno,%l3
ld [%l3],%l2
add %l2,1,%l2
st %l2,[%l3]
set yytchar,%l3
ld [%l3],%l5
ba .L117; nop
.L116:
set yytchar,%l3
ld [%l3],%l5
.L117:
cmp %l5,-1; bne .L114; nop
mov %g0,%l6
ba .L115; nop
.L114:
set yytchar,%l3
ld [%l3],%l6
.L115:
set yytext,%l2
stb %l6,[%l2]
set yyprevious,%l2
sll %l6,8*(4-1),%l3; sra %l3,8*(4-1),%l3
st %l3,[%l2]
set yyprevious,%l3
ld [%l3],%l3
cmp %l3,0; ble .L122; nop
set yyout,%l3
ld [%l3],%l3
ld [%l3],%l2
sub %l2,1,%l2
st %l2,[%l3]
cmp %l2,0; bge .L125; nop
set yyprevious,%l3
ld [%l3],%l3
and %l3,0xff,%l3
mov %l3,%o0
set yyout,%l3
ld [%l3],%o1
call __flsbuf; nop
ba .L126; nop
.L125:
set yyout,%l3
ld [%l3],%l3
add %l3,4,%l3
ld [%l3],%l2
add %l2,1,%l1
st %l1,[%l3]
set yyprevious,%l3
ld [%l3],%l3
stb %l3,[%l2]
.L126:
.L122:
set yytext,%i2
ba .L37; nop
.L34:
ret; restore
.type yylook,#function
.size yylook,.-yylook
.global yyback
.align 4
yyback:
save %sp,-96,%sp
mov %i0,%i5
cmp %i5,%g0; bne .L131; nop
mov %g0,%i0
ba .L127; nop
.L130:
mov %i0,%i5
add %i5,4,%i0
ld [%i5],%i5
cmp %i5,%i1; bne .L133; nop
set 1,%i0
ba .L127; nop
.L133:
.L131:
ld [%i0],%i5
cmp %i5,0; bne .L130; nop
mov %g0,%i0
.L127:
ret; restore
.type yyback,#function
.size yyback,.-yyback
.global yyinput
.align 4
yyinput:
save %sp,-96,%sp
set yysptr,%i1
ld [%i1],%i1
set yysbuf,%i0
cmp %i1,%i0; bleu .L144; nop
set yysptr,%i1
ld [%i1],%i0
add %i0,-1,%i0
st %i0,[%i1]
ldsb [%i0],%i3
ba .L145; nop
.L144:
set yyin,%i1
ld [%i1],%i1
ld [%i1],%i0
sub %i0,1,%i0
st %i0,[%i1]
cmp %i0,0; bge .L146; nop
set yyin,%i1
ld [%i1],%o0
call __filbuf; nop
mov %o0,%i1
mov %i1,%i2
ba .L147; nop
.L146:
set yyin,%i1
ld [%i1],%i1
add %i1,4,%i1
ld [%i1],%i0
add %i0,1,%l7
st %l7,[%i1]
ldub [%i0],%i2
.L147:
mov %i2,%i3
.L145:
set yytchar,%i1
st %i3,[%i1]
cmp %i3,10; bne .L142; nop
set yylineno,%i1
ld [%i1],%i0
add %i0,1,%i0
st %i0,[%i1]
set yytchar,%i1
ld [%i1],%i4
ba .L143; nop
.L142:
set yytchar,%i1
ld [%i1],%i4
.L143:
cmp %i4,-1; bne .L140; nop
mov %g0,%i5
ba .L141; nop
.L140:
set yytchar,%i1
ld [%i1],%i5
.L141:
mov %i5,%i0
.L135:
ret; restore
.type yyinput,#function
.size yyinput,.-yyinput
.global yyoutput
.align 4
yyoutput:
save %sp,-96,%sp
set yyout,%i5
ld [%i5],%i5
ld [%i5],%i4
sub %i4,1,%i4
st %i4,[%i5]
cmp %i4,0; bge .L150; nop
mov %i0,%i5
and %i5,0xff,%i5
mov %i5,%o0
set yyout,%i5
ld [%i5],%o1
call __flsbuf; nop
ba .L151; nop
.L150:
set yyout,%i5
ld [%i5],%i5
add %i5,4,%i5
ld [%i5],%i4
add %i4,1,%i3
st %i3,[%i5]
mov %i0,%i5
stb %i5,[%i4]
.L151:
mov %g0,%i0
.L148:
ret; restore
.type yyoutput,#function
.size yyoutput,.-yyoutput
.global yyunput
.align 4
yyunput:
save %sp,-96,%sp
set yytchar,%i5
st %i0,[%i5]
ld [%i5],%i5
cmp %i5,10; bne .L153; nop
set yylineno,%i5
ld [%i5],%i4
sub %i4,1,%i4
st %i4,[%i5]
.L153:
set yysptr,%i5
ld [%i5],%i4
add %i4,1,%i3
st %i3,[%i5]
set yytchar,%i5
ld [%i5],%i5
stb %i5,[%i4]
mov %g0,%i0
.L152:
ret; restore
.type yyunput,#function
.size yyunput,.-yyunput
.global main
.align 4
main:
save %sp,-96,%sp
set yyin,%i5
set __iob,%i4
st %i4,[%i5]
set yyout,%i5
set __iob+16,%i4
st %i4,[%i5]
call yyparse; nop
mov %g0,%i0
.L155:
ret; restore
.type main,#function
.size main,.-main
.global yyerror
.align 4
yyerror:
save %sp,-96,%sp
set .L158,%o0
mov %i0,%o1
call printf; nop
mov %g0,%i0
.L157:
ret; restore
.type yyerror,#function
.size yyerror,.-yyerror
.section ".data"
.global yyexca
.type yyexca,#object
.align 2
yyexca:
.half 0xffff
.half 0x1
.half 0x0
.half 0xffff
.half 0xfffe
.half 0x0
.size yyexca,12
.global yyact
.type yyact,#object
.align 2
yyact:
.half 0xc
.half 0x2
.half 0x9
.half 0x8
.half 0x11
.half 0xb
.half 0x19
.half 0x11
.half 0xf
.half 0x12
.half 0x10
.half 0xa
.half 0x12
.half 0x11
.half 0xf
.half 0x7
.half 0x10
.half 0xd
.half 0x12
.half 0x5
.half 0x3
.half 0x1
.half 0x0
.half 0x13
.half 0x14
.half 0x0
.half 0x0
.half 0x15
.half 0x16
.half 0x17
.half 0x18
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -