front.sbk 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  1. .global main
  2. .section ".text"
  3. .align 4
  4. main:
  5. save %sp,-96,%sp
  6. mov %g0,%o0
  7. call exit; nop
  8. mov %g0,%i0
  9. .L1:
  10. ret; restore
  11. .type main,#function
  12. .size main,.-main
  13. .global nested
  14. .align 4
  15. nested:
  16. cmp %o0,4; bge .L6; nop
  17. cmp %o1,114; be .L9; nop
  18. .L6:
  19. cmp %o0,1; bne .L8; nop
  20. cmp %o1,104; be .L9; nop
  21. cmp %o1,105; be .L9; nop
  22. .L8:
  23. cmp %o0,2; bne .L3; nop
  24. cmp %o1,111; be .L9; nop
  25. cmp %o1,121; bne .L3; nop
  26. .L9:
  27. mov %o1,%o0
  28. .L3:
  29. mov %g0,%o0
  30. .L2:
  31. retl; nop
  32. .type nested,#function
  33. .size nested,.-nested
  34. .global s
  35. .align 4
  36. s:
  37. .L10:
  38. retl; nop
  39. .type s,#function
  40. .size s,.-s
  41. .section ".data"
  42. .global Dy
  43. .type Dy,#object
  44. .size Dy,8
  45. .align 4
  46. Dy:
  47. .word 0x0
  48. .skip 4
  49. .global Dz
  50. .type Dz,#object
  51. .size Dz,8
  52. .align 4
  53. Dz:
  54. .word 0x1
  55. .skip 4
  56. .global Dfunc
  57. .section ".text"
  58. .align 4
  59. Dfunc:
  60. save %sp,-96,%sp
  61. ret; restore
  62. .type Dfunc,#function
  63. .size Dfunc,.-Dfunc
  64. .global f
  65. .align 4
  66. f:
  67. retl; nop
  68. .type f,#function
  69. .size f,.-f
  70. .global f1
  71. .align 4
  72. f1:
  73. retl; nop
  74. .type f1,#function
  75. .size f1,.-f1
  76. .global f2
  77. .align 4
  78. f2:
  79. save %sp,-96,%sp
  80. ret; restore
  81. .type f2,#function
  82. .size f2,.-f2
  83. .global g
  84. .align 4
  85. g:
  86. save %sp,-96,%sp
  87. ret; restore
  88. .type g,#function
  89. .size g,.-g
  90. .global h
  91. .align 4
  92. h:
  93. save %sp,-96,%sp
  94. ret; restore
  95. .type h,#function
  96. .size h,.-h
  97. .global h1
  98. .align 4
  99. h1:
  100. save %sp,-96,%sp
  101. ret; restore
  102. .type h1,#function
  103. .size h1,.-h1
  104. .global h2
  105. .align 4
  106. h2:
  107. retl; nop
  108. .type h2,#function
  109. .size h2,.-h2
  110. .section ".data"
  111. .type .21,#object
  112. .size .21,4
  113. .align 4
  114. .21:
  115. .word 0x1
  116. .global set1
  117. .section ".text"
  118. .align 4
  119. set1:
  120. retl; nop
  121. .type set1,#function
  122. .size set1,.-set1
  123. .section ".data"
  124. .type .23,#object
  125. .size .23,4
  126. .align 4
  127. .23:
  128. .word 0x2
  129. .global set2
  130. .section ".text"
  131. .align 4
  132. set2:
  133. retl; nop
  134. .type set2,#function
  135. .size set2,.-set2
  136. .align 4
  137. goo:
  138. retl; nop
  139. .type goo,#function
  140. .size goo,.-goo
  141. .global sss
  142. .align 4
  143. sss:
  144. retl; nop
  145. .type sss,#function
  146. .size sss,.-sss
  147. .section ".bss"
  148. .type .27,#object
  149. .size .27,4
  150. .local .27
  151. .common .27,4,4
  152. .global rrr
  153. .section ".text"
  154. .align 4
  155. rrr:
  156. retl; nop
  157. .type rrr,#function
  158. .size rrr,.-rrr
  159. .global setstatic
  160. .align 4
  161. setstatic:
  162. retl; nop
  163. .type setstatic,#function
  164. .size setstatic,.-setstatic
  165. .global gx1
  166. .align 4
  167. gx1:
  168. save %sp,-96,%sp
  169. st %r24,[%fp+68]
  170. st %r25,[%fp+72]
  171. ret; restore
  172. .type gx1,#function
  173. .size gx1,.-gx1
  174. .global ff1
  175. .align 4
  176. ff1:
  177. save %sp,-96,%sp
  178. st %r24,[%fp+68]
  179. st %r25,[%fp+72]
  180. ret; restore
  181. .type ff1,#function
  182. .size ff1,.-ff1
  183. .global gg1
  184. .align 4
  185. gg1:
  186. retl; nop
  187. .type gg1,#function
  188. .size gg1,.-gg1
  189. .global hh1
  190. .align 4
  191. hh1:
  192. retl; nop
  193. .type hh1,#function
  194. .size hh1,.-hh1
  195. .global cmp
  196. .align 4
  197. cmp:
  198. save %sp,-96,%sp
  199. ret; restore
  200. .type cmp,#function
  201. .size cmp,.-cmp
  202. .global sort
  203. .align 4
  204. sort:
  205. save %sp,-96,%sp
  206. ret; restore
  207. .type sort,#function
  208. .size sort,.-sort
  209. .global onearg
  210. .align 4
  211. onearg:
  212. save %sp,-96,%sp
  213. ret; restore
  214. .type onearg,#function
  215. .size onearg,.-onearg
  216. .section ".bss"
  217. .global ss4
  218. .type ss4,#object
  219. .size ss4,4
  220. .common ss4,4,4
  221. .type ss2,#object
  222. .size ss2,4
  223. .local ss2
  224. .common ss2,4,4
  225. .type ss5,#object
  226. .size ss5,4
  227. .local ss5
  228. .common ss5,4,4
  229. .global ss3
  230. .type ss3,#object
  231. .size ss3,4
  232. .common ss3,4,4
  233. .type ss1,#object
  234. .size ss1,4
  235. .local ss1
  236. .common ss1,4,4
  237. .type yy,#object
  238. .size yy,4
  239. .local yy
  240. .common yy,4,4
  241. .global z
  242. .type z,#object
  243. .size z,4
  244. .common z,4,4
  245. .global y
  246. .type y,#object
  247. .size y,4
  248. .common y,4,4
  249. .global x
  250. .type x,#object
  251. .size x,4
  252. .common x,4,4
  253. .global b
  254. .type b,#object
  255. .size b,4
  256. .common b,4,4
  257. .global a
  258. .type a,#object
  259. .size a,4
  260. .common a,4,4