OpenCores
URL https://opencores.org/ocsvn/eco32/eco32/trunk

Subversion Repositories eco32

[/] [eco32/] [trunk/] [lcc/] [sparc/] [solaris/] [tst/] [yacc.sbk] - Rev 258

Go to most recent revision | Compare with Previous | Blame | View Log

.section ".data"
.global yyin
.type yyin,#object
.size yyin,4
.align 4
yyin:
.word 0x0
.global yyout
.type yyout,#object
.size yyout,4
.align 4
yyout:
.word 0x0
.global yylex
.section ".text"
.align 4
yylex:
save %sp,-96,%sp
ba .L4; nop
.L3:
.L6:
cmp %i5,-1; bl .L7; nop
cmp %i5,4; bg .L7; nop
sll %i5,2,%i4
set .L18+4,%i3
ld [%i4+%i3],%i4
jmp %i4; nop
.section ".rodata"
.align 4
.L18:
.word .L8
.word .L9
.word .L12
.word .L13
.word .L8
.word .L15
.section ".text"
.L9:
call yywrap; nop
cmp %o0,0; be .L8; nop
mov %g0,%i0
ba .L2; nop
.L12:
set 257,%i0
ba .L2; nop
.L13:
set 258,%i0
ba .L2; nop
.L15:
set yytext,%i4
ldsb [%i4],%i0
ba .L2; nop
.L7:
set yyout,%i4
ld [%i4],%o0
set .L17,%o1
mov %i5,%o2
call fprintf; nop
.L8:
.L4:
call yylook; nop
mov %o0,%i5
cmp %o0,0; bge .L3; nop
mov %g0,%i0
.L2:
ret; restore
.type yylex,#function
.size yylex,.-yylex
.section ".data"
.global yyvstop
.type yyvstop,#object
.align 4
yyvstop:
.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 1
yycrank:
.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 4
yysvec:
.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 4
yytop:
.word yycrank+282
.global yybgin
.type yybgin,#object
.size yybgin,4
.align 4
yybgin:
.word yysvec+12
.global yymatch
.type yymatch,#object
.align 1
yymatch:
.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 1
yyextra:
.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 4
yylineno:
.word 0x1
.global yysptr
.type yysptr,#object
.size yysptr,4
.align 4
yysptr:
.word yysbuf
.global yyprevious
.type yyprevious,#object
.size yyprevious,4
.align 4
yyprevious:
.word 0xa
.global yylook
.section ".text"
.align 4
yylook:
save %sp,-96,%sp
set yymorfg,%l6
ld [%l6],%l6
cmp %l6,0; bne .L35; nop
set yytext,%i2
ba .L36; nop
.L35:
set yymorfg,%l6
st %g0,[%l6]
set yyleng,%l6
ld [%l6],%l6
set yytext,%l5
add %l6,%l5,%i2
.L36:
.L37:
set yylstate,%i4
set yybgin,%l6
ld [%l6],%l6
mov %l6,%i5
set yyestate,%l5
st %l6,[%l5]
set yyprevious,%l6
ld [%l6],%l6
cmp %l6,10; bne .L41; nop
add %i5,12,%i5
.L41:
.L43:
ld [%i5],%i3
mov %i3,%l6
set yycrank,%l5
cmp %l6,%l5; bne .L47; nop
ld [%i5+4],%l7
mov %l7,%l6
cmp %l6,%g0; bne .L49; nop
ba .L94; nop
.L49:
ld [%l7],%l6
set yycrank,%l5
cmp %l6,%l5; bne .L51; nop
ba .L94; nop
.L51:
.L47:
mov %i2,%l3
add %l3,1,%i2
set yysptr,%l2
ld [%l2],%l2
set yysbuf,%l1
cmp %l2,%l1; bleu .L61; nop
set yysptr,%l2
ld [%l2],%l1
add %l1,-1,%l1
st %l1,[%l2]
ldsb [%l1],%l4
ba .L62; nop
.L61:
set yyin,%l2
ld [%l2],%l2
ld [%l2],%l1
sub %l1,1,%l1
st %l1,[%l2]
cmp %l1,0; bge .L63; nop
set yyin,%l2
ld [%l2],%o0
call __filbuf; nop
mov %o0,%l2
st %l2,[%fp+-4]
ba .L64; nop
.L63:
set yyin,%l2
ld [%l2],%l2
add %l2,4,%l2
ld [%l2],%l1
add %l1,1,%l0
st %l0,[%l2]
ldub [%l1],%l2
st %l2,[%fp+-4]
.L64:
ld [%fp+-4],%l4
.L62:
set yytchar,%l2
st %l4,[%l2]
cmp %l4,10; bne .L59; nop
set yylineno,%l2
ld [%l2],%l1
add %l1,1,%l1
st %l1,[%l2]
set yytchar,%l2
ld [%l2],%l5
ba .L60; nop
.L59:
set yytchar,%l2
ld [%l2],%l5
.L60:
cmp %l5,-1; bne .L57; nop
mov %g0,%l6
ba .L58; nop
.L57:
set yytchar,%l2
ld [%l2],%l6
.L58:
mov %l6,%i1
mov %l6,%l2
stb %l2,[%l3]
.L65:
mov %i3,%i0
mov %i3,%l3
set yycrank,%l2
cmp %l3,%l2; bleu .L66; nop
sll %i1,1,%l3
add %l3,%i0,%i3
mov %i3,%l3
set yytop,%l2
ld [%l2],%l2
cmp %l3,%l2; bgu .L67; nop
ldsb [%i3],%l3
smul %l3,12,%l3
set yysvec,%l2
add %l3,%l2,%l3
mov %i5,%l2
cmp %l3,%l2; bne .L67; nop
set yysvec,%l3
ldsb [%i3+1],%l2
smul %l2,12,%l2
add %l2,%l3,%l2
cmp %l2,%l3; bne .L70; nop
add %i2,-1,%l3
mov %l3,%i2
set yytchar,%l2
ldsb [%l3],%l3
st %l3,[%l2]
ld [%l2],%l3
cmp %l3,10; bne .L72; nop
set yylineno,%l3
ld [%l3],%l2
sub %l2,1,%l2
st %l2,[%l3]
.L72:
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
.L70:
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
.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
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0x6
.half 0xe
.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 0x4
.half 0x6
.size yyact,498
.global yypact
.type yypact,#object
.align 2
yypact:
.half 0xfc18
.half 0xfff7
.half 0xfc18
.half 0x5
.half 0xfff9
.half 0xffc5
.half 0xfc18
.half 0xfc18
.half 0xfc18
.half 0xffd8
.half 0xffe3
.half 0xffd8
.half 0xffd8
.half 0xfc18
.half 0xfc18
.half 0xffd8
.half 0xffd8
.half 0xffd8
.half 0xffd8
.half 0xffda
.half 0xffdd
.half 0xffda
.half 0xffda
.half 0xfc18
.half 0xfc18
.half 0xfc18
.size yypact,52
.global yypgo
.type yypgo,#object
.align 2
yypgo:
.half 0x0
.half 0x15
.half 0x14
.half 0x11
.half 0xb
.size yypgo,10
.global yyr1
.type yyr1,#object
.align 2
yyr1:
.half 0x0
.half 0x1
.half 0x1
.half 0x1
.half 0x1
.half 0x2
.half 0x4
.half 0x4
.half 0x4
.half 0x4
.half 0x4
.half 0x4
.half 0x4
.half 0x4
.half 0x3
.size yyr1,30
.global yyr2
.type yyr2,#object
.align 2
yyr2:
.half 0x0
.half 0x0
.half 0x2
.half 0x3
.half 0x3
.half 0x3
.half 0x3
.half 0x3
.half 0x3
.half 0x3
.half 0x2
.half 0x3
.half 0x1
.half 0x1
.half 0x1
.size yyr2,30
.global yychk
.type yychk,#object
.align 2
yychk:
.half 0xfc18
.half 0xffff
.half 0xa
.half 0xfffe
.half 0x100
.half 0xfffd
.half 0x101
.half 0xa
.half 0xa
.half 0x3d
.half 0xfffc
.half 0x2d
.half 0x28
.half 0xfffd
.half 0x102
.half 0x2b
.half 0x2d
.half 0x2a
.half 0x2f
.half 0xfffc
.half 0xfffc
.half 0xfffc
.half 0xfffc
.half 0xfffc
.half 0xfffc
.half 0x29
.size yychk,52
.global yydef
.type yydef,#object
.align 2
yydef:
.half 0x1
.half 0xfffe
.half 0x2
.half 0x0
.half 0x0
.half 0x0
.half 0xe
.half 0x3
.half 0x4
.half 0x0
.half 0x5
.half 0x0
.half 0x0
.half 0xc
.half 0xd
.half 0x0
.half 0x0
.half 0x0
.half 0x0
.half 0xa
.half 0x0
.half 0x6
.half 0x7
.half 0x8
.half 0x9
.half 0xb
.size yydef,52
.global yychar
.type yychar,#object
.size yychar,4
.align 4
yychar:
.word 0xffffffff
.global yynerrs
.type yynerrs,#object
.size yynerrs,4
.align 4
yynerrs:
.word 0x0
.global yyerrflag
.type yyerrflag,#object
.size yyerrflag,2
.align 2
yyerrflag:
.half 0x0
.global yyparse
.section ".text"
.align 4
yyparse:
save %sp,-392,%sp
mov %g0,%l5
mov %l5,%i4
set yychar,%l4
set -1,%l3
st %l3,[%l4]
set yynerrs,%l4
st %g0,[%l4]
set yyerrflag,%l4
sth %l5,[%l4]
add -302,%fp,%i3
set yyv-4,%i1
.L162:
add %i3,2,%l5
mov %l5,%i3
add -2,%fp,%l4
cmp %l5,%l4; bleu .L163; nop
set .L166,%o0
call yyerror; nop
set 1,%i0
ba .L159; nop
.L163:
sth %i4,[%i3]
add %i1,4,%i1
set yyval,%l5
ld [%l5],%l5
st %l5,[%i1]
.L167:
sll %i4,8*(4-2),%l5; sra %l5,8*(4-2),%l5
sll %l5,1,%l5
set yypact,%l4
ldsh [%l5+%l4],%i2
sll %i2,8*(4-2),%l5; sra %l5,8*(4-2),%l5
cmp %l5,-1000; bg .L168; nop
ba .L170; nop
.L168:
set yychar,%l5
ld [%l5],%l5
cmp %l5,0; bge .L171; nop
call yylex; nop
set yychar,%l4
st %o0,[%l4]
cmp %o0,0; bge .L173; nop
set yychar,%l5
st %g0,[%l5]
.L173:
.L171:
sll %i2,8*(4-2),%l5; sra %l5,8*(4-2),%l5
set yychar,%l4
ld [%l4],%l4
add %l5,%l4,%l5
mov %l5,%i2
sll %l5,8*(4-2),%l5; sra %l5,8*(4-2),%l5
cmp %l5,0; bl .L177; nop
sll %i2,8*(4-2),%l5; sra %l5,8*(4-2),%l5
cmp %l5,249; bl .L175; nop
.L177:
ba .L170; nop
.L175:
sll %i2,8*(4-2),%l5; sra %l5,8*(4-2),%l5
sll %l5,1,%l5
set yyact,%l4
ldsh [%l5+%l4],%l5
mov %l5,%i2
sll %l5,8*(4-2),%l5; sra %l5,8*(4-2),%l5
sll %l5,1,%l5
set yychk,%l4
ldsh [%l5+%l4],%l5
set yychar,%l4
ld [%l4],%l4
cmp %l5,%l4; bne .L178; nop
set yychar,%l5
set -1,%l4
st %l4,[%l5]
set yyval,%l5
set yylval,%l4
ld [%l4],%l4
st %l4,[%l5]
mov %i2,%i4
set yyerrflag,%l5
ldsh [%l5],%l5
cmp %l5,0; ble .L162; nop
set yyerrflag,%l5
ldsh [%l5],%l4
sub %l4,1,%l4
sth %l4,[%l5]
ba .L162; nop
.L178:
.L170:
sll %i4,8*(4-2),%l5; sra %l5,8*(4-2),%l5
sll %l5,1,%l5
set yydef,%l4
ldsh [%l5+%l4],%l5
mov %l5,%i2
sll %l5,8*(4-2),%l5; sra %l5,8*(4-2),%l5
cmp %l5,-2; bne .L182; nop
set yychar,%l5
ld [%l5],%l5
cmp %l5,0; bge .L184; nop
call yylex; nop
set yychar,%l4
st %o0,[%l4]
cmp %o0,0; bge .L186; nop
set yychar,%l5
st %g0,[%l5]
.L186:
.L184:
set yyexca,%i0
ba .L191; nop
.L188:
.L189:
add %i0,4,%i0
.L191:
ldsh [%i0],%l5
cmp %l5,-1; bne .L188; nop
ldsh [%i0+2],%l5
sll %i4,8*(4-2),%l4; sra %l4,8*(4-2),%l4
cmp %l5,%l4; bne .L188; nop
ba .L193; nop
.L192:
ldsh [%i0],%l5
set yychar,%l4
ld [%l4],%l4
cmp %l5,%l4; bne .L195; nop
ba .L194; nop
.L195:
.L193:
add %i0,4,%l5
mov %l5,%i0
ldsh [%l5],%l5
cmp %l5,0; bge .L192; nop
.L194:
ldsh [%i0+2],%l5
mov %l5,%i2
sll %l5,8*(4-2),%l5; sra %l5,8*(4-2),%l5
cmp %l5,0; bge .L197; nop
mov %g0,%i0
ba .L159; nop
.L197:
.L182:
sll %i2,8*(4-2),%l5; sra %l5,8*(4-2),%l5
cmp %l5,0; bne .L199; nop
set yyerrflag,%l4
ldsh [%l4],%l5
cmp %l5,0; bl .L201; nop
cmp %l5,3; bg .L201; nop
sll %l5,2,%l4
set .L217,%l3
ld [%l4+%l3],%l4
jmp %l4; nop
.section ".rodata"
.align 4
.L217:
.word .L204
.word .L207
.word .L207
.word .L214
.section ".text"
.L204:
set .L205,%o0
call yyerror; nop
.L206:
set yynerrs,%l4
ld [%l4],%l3
add %l3,1,%l3
st %l3,[%l4]
.L207:
set yyerrflag,%l4
set 3,%l3
sth %l3,[%l4]
ba .L209; nop
.L208:
ldsh [%i3],%l4
sll %l4,1,%l4
set yypact,%l3
ldsh [%l4+%l3],%l4
add %l4,256,%l4
mov %l4,%i2
sll %i2,8*(4-2),%l4; sra %l4,8*(4-2),%l4
cmp %l4,0; bl .L211; nop
cmp %l4,249; bge .L211; nop
sll %l4,1,%l4
set yyact,%l3
ldsh [%l4+%l3],%l4
sll %l4,1,%l4
set yychk,%l3
ldsh [%l4+%l3],%l4
cmp %l4,256; bne .L211; nop
sll %i2,8*(4-2),%l4; sra %l4,8*(4-2),%l4
sll %l4,1,%l4
set yyact,%l3
ldsh [%l4+%l3],%i4
ba .L162; nop
.L211:
ldsh [%i3],%l4
sll %l4,1,%l4
set yypact,%l3
ldsh [%l4+%l3],%i2
add %i3,-2,%i3
add %i1,-4,%i1
.L209:
mov %i3,%l4
add -300,%fp,%l3
cmp %l4,%l3; bgeu .L208; nop
.L213:
set 1,%i0
ba .L159; nop
.L214:
set yychar,%l4
ld [%l4],%l4
cmp %l4,0; bne .L215; nop
ba .L213; nop
.L215:
set yychar,%l4
set -1,%l3
st %l3,[%l4]
ba .L167; nop
.L201:
.L199:
sll %i2,8*(4-2),%l5; sra %l5,8*(4-2),%l5
sll %l5,1,%l5
set yyr2,%l4
add %l5,%l4,%l4
ldsh [%l4],%l3
sll %l3,1,%l3
sub %i3,%l3,%i3
mov %i1,%i5
ldsh [%l4],%l4
sll %l4,2,%l4
sub %i1,%l4,%i1
set yyval,%l4
ld [%i1+4],%l3
st %l3,[%l4]
mov %i2,%l6
set yyr1,%l4
ldsh [%l5+%l4],%i2
sll %i2,8*(4-2),%l5; sra %l5,8*(4-2),%l5
sll %l5,1,%l5
set yypgo,%l4
ldsh [%l5+%l4],%l5
ldsh [%i3],%l4
add %l5,%l4,%l5
add %l5,1,%l5
mov %l5,%l7
sll %l7,8*(4-2),%l5; sra %l5,8*(4-2),%l5
cmp %l5,249; bge .L220; nop
sll %l5,1,%l5
set yyact,%l4
ldsh [%l5+%l4],%l5
mov %l5,%i4
sll %l5,8*(4-2),%l5; sra %l5,8*(4-2),%l5
sll %l5,1,%l5
set yychk,%l4
ldsh [%l5+%l4],%l5
sll %i2,8*(4-2),%l4; sra %l4,8*(4-2),%l4
neg %l4,%l4
cmp %l5,%l4; be .L218; nop
.L220:
sll %i2,8*(4-2),%l5; sra %l5,8*(4-2),%l5
sll %l5,1,%l5
set yypgo,%l4
ldsh [%l5+%l4],%l5
sll %l5,1,%l5
set yyact,%l4
ldsh [%l5+%l4],%i4
.L218:
sll %l6,8*(4-2),%l5; sra %l5,8*(4-2),%l5
cmp %l5,4; bl .L162; nop
cmp %l5,14; bg .L162; nop
sll %l5,2,%l4
set .L242-16,%l3
ld [%l4+%l3],%l4
jmp %l4; nop
.section ".rodata"
.align 4
.L242:
.word .L224
.word .L225
.word .L227
.word .L229
.word .L231
.word .L233
.word .L235
.word .L162
.word .L237
.word .L239
.word .L241
.section ".text"
.L224:
set yyerrflag,%l4
sth %g0,[%l4]
ba .L162; nop
.L225:
set .L226,%o0
call printf; nop
ba .L162; nop
.L227:
set .L228,%o0
call printf; nop
ba .L162; nop
.L229:
set .L230,%o0
call printf; nop
ba .L162; nop
.L231:
set .L232,%o0
call printf; nop
ba .L162; nop
.L233:
set .L234,%o0
call printf; nop
ba .L162; nop
.L235:
set .L236,%o0
call printf; nop
ba .L162; nop
.L237:
set .L238,%o0
call printf; nop
ba .L162; nop
.L239:
set .L240,%o0
set yytext,%o1
call printf; nop
ba .L162; nop
.L241:
set .L158,%o0
set yytext,%o1
call printf; nop
ba .L162; nop
.L159:
ret; restore
.type yyparse,#function
.size yyparse,.-yyparse
.global yywrap
.align 4
yywrap:
set 1,%o0
.L244:
retl; nop
.type yywrap,#function
.size yywrap,.-yywrap
.section ".bss"
.global yyv
.type yyv,#object
.size yyv,600
.common yyv,600,4
.global yyfnd
.type yyfnd,#object
.size yyfnd,4
.common yyfnd,4,4
.global yyolsp
.type yyolsp,#object
.size yyolsp,4
.common yyolsp,4,4
.global yylsp
.type yylsp,#object
.size yylsp,4
.common yylsp,4,4
.global yylstate
.type yylstate,#object
.size yylstate,800
.common yylstate,800,4
.global yyestate
.type yyestate,#object
.size yyestate,4
.common yyestate,4,4
.global yytchar
.type yytchar,#object
.size yytchar,4
.common yytchar,4,4
.global yysbuf
.type yysbuf,#object
.size yysbuf,200
.common yysbuf,200,1
.global yymorfg
.type yymorfg,#object
.size yymorfg,4
.common yymorfg,4,4
.global yytext
.type yytext,#object
.size yytext,200
.common yytext,200,1
.global yyleng
.type yyleng,#object
.size yyleng,4
.common yyleng,4,4
.global yyval
.type yyval,#object
.size yyval,4
.common yyval,4,4
.global yylval
.type yylval,#object
.size yylval,4
.common yylval,4,4
.section ".rodata"
.align 1
.L240:
.byte 112
.byte 117
.byte 115
.byte 104
.byte 32
.byte 37
.byte 115
.byte 10
.byte 0
.align 1
.L238:
.byte 108
.byte 111
.byte 97
.byte 100
.byte 10
.byte 0
.align 1
.L236:
.byte 110
.byte 101
.byte 103
.byte 97
.byte 116
.byte 101
.byte 10
.byte 0
.align 1
.L234:
.byte 100
.byte 105
.byte 118
.byte 105
.byte 100
.byte 101
.byte 10
.byte 0
.align 1
.L232:
.byte 109
.byte 117
.byte 108
.byte 116
.byte 105
.byte 112
.byte 108
.byte 121
.byte 10
.byte 0
.align 1
.L230:
.byte 110
.byte 101
.byte 103
.byte 97
.byte 116
.byte 101
.byte 10
.byte 97
.byte 100
.byte 100
.byte 10
.byte 0
.align 1
.L228:
.byte 97
.byte 100
.byte 100
.byte 10
.byte 0
.align 1
.L226:
.byte 115
.byte 116
.byte 111
.byte 114
.byte 101
.byte 10
.byte 0
.align 1
.L205:
.byte 115
.byte 121
.byte 110
.byte 116
.byte 97
.byte 120
.byte 32
.byte 101
.byte 114
.byte 114
.byte 111
.byte 114
.byte 0
.align 1
.L166:
.byte 121
.byte 97
.byte 99
.byte 99
.byte 32
.byte 115
.byte 116
.byte 97
.byte 99
.byte 107
.byte 32
.byte 111
.byte 118
.byte 101
.byte 114
.byte 102
.byte 108
.byte 111
.byte 119
.byte 0
.align 1
.L158:
.byte 37
.byte 115
.byte 10
.byte 0
.align 1
.L17:
.byte 98
.byte 97
.byte 100
.byte 32
.byte 115
.byte 119
.byte 105
.byte 116
.byte 99
.byte 104
.byte 32
.byte 121
.byte 121
.byte 108
.byte 111
.byte 111
.byte 107
.byte 32
.byte 37
.byte 100
.byte 0

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.