Advertisement
Guest User

httpd.conf

a guest
Feb 16th, 2011
553
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.74 KB | None | 0 0
  1. ! conv.g3a disassembled code
  2. ! use the GNU SH3 assembly notations and directives
  3.  
  4.  
  5. .section ".pretext"
  6. .align 2
  7. EntryPoint: ! 0x300000 with virtual address mapping
  8. mov.l r14, @-r15
  9. sts.l pr, @-r15
  10. mov.l r4, @-r15
  11. mov.l Value1, r3
  12. jsr @r3 ! Func1
  13. mov r5, r14
  14. mov.l Value2, r1
  15. mov #1, r6
  16. mov #0, r4
  17. jsr @r1 ! Func2
  18. mov r6, r5
  19. mov.l Value3, r7
  20. extu.w r14, r5
  21. mov.l @r15+, r4
  22. lds.l @r15+, pr
  23. jmp @r7 ! jmp Func3 (end of sub?)
  24. mov.l @r15+, r14
  25. ! was 0x26
  26.  
  27. .align 4
  28. Value1:
  29. .long Func1
  30. Value2:
  31. .long Func2
  32. Value3:
  33. .long Func3
  34.  
  35.  
  36. Func1: ! was 300034
  37. mov.l Value4, r7
  38. mov #0, r6
  39. mov.l Value5, r4
  40. bra Func1_Label1
  41. mov.l @r7, r2 ! before the bra
  42. Func1_Label2:
  43. mov.l r6, @r2
  44. add #4, r2
  45. Func1_Label1:
  46. mov.l @r4, r5
  47. cmp/hs r5, r2
  48. bf Func1_Label2
  49. mov.l Value6, r1
  50. mov.l Value7, r4
  51. mov.l @r1, r6
  52. mov.l Value8, r1
  53. bra Func1_Label3
  54. mov.l @r4, r5 ! before the bra
  55. Func1_Label4:
  56. mov.l @r5+, r2
  57. mov.l r2, @r6
  58. add #4, r6
  59. Func1_Label3:
  60. mov.l @r1, r4
  61. cmp/hs r4, r6
  62. bf Func1_Label4
  63. mov.l Value9, r1
  64. mov.l @r7, r5
  65. sub r5, r4
  66. add #4, r4
  67. rts
  68. mov.l r4, @r1
  69.  
  70.  
  71. .align 4
  72. Value4:
  73. .long Something1
  74. Value5:
  75. .long Something2
  76. Value6:
  77. .long Something3
  78. Value7:
  79. .long Something4
  80. Value8:
  81. .long Something5
  82. Value9:
  83. .long 0x08100000 ! ram address
  84.  
  85.  
  86.  
  87. Func3: ! was 300084
  88. mov.l Value10, r3
  89. add r3, r15 ! r15 = r15 - 0x28804
  90. mov.l Value11, r1
  91. mov.l Value12, r10
  92. mov.l Value13, r11
  93. mov.l Value14, r12
  94. jsr @r1
  95. mov #1, r4 ! delayed
  96. jsr @r10
  97. mov r15, r4
  98. jsr @r11
  99. nop
  100. mov #-25, r4
  101. jsr @r12
  102. extu.b r4, r4
  103. mov.l Value15, r2
  104. mov #0, r5
  105. jsr @r2
  106. mov #11, r4
  107. mov #1, r5
  108. mov.l r5, @-r15
  109. mov.l Value16, r10
  110. mov.w Value17, r11
  111. mov #32, r7
  112. mov r5, r4
  113. jsr @r10
  114. mov r11, r6
  115.  
  116. add #4, r15
  117. mov #0, r14
  118. mov.l r14, @-r15 ! may be simplified with the mov #4, r15
  119. add #1, r11
  120. mov #32, r7
  121. mov #2, r5
  122. mov #1, r4
  123. jsr @r10
  124. mov r11, r6
  125.  
  126. add #4, r15
  127. mov.l r14, @-r15 ! may be simplified
  128. add #1, r11
  129. mov #32, r7
  130. mov #3, r5
  131. mov #1, r4
  132. jsr @r10
  133. mov r11, r6
  134.  
  135. add #4, r15
  136. mov.l r14, @-r15 ! may be simplified
  137. add #1, r11
  138. mov #32, r7
  139. mov #4, r5
  140. mov #1, r4
  141. jsr @r10
  142. mov r11, r6
  143.  
  144. add #4, r15
  145. mov.l r15 @-r15 ! may be simplified
  146. add #1, r11
  147. mov #32, r7
  148. mov #5, r5
  149. mov #1, r4
  150. jsr @r10
  151. mov r11, r6
  152.  
  153. add #4, r15
  154. mov.l r14, @-r15
  155. add #1, r11
  156. mov #32, r7
  157. mov #6, r5
  158. mov r11, r6
  159. jsr @r10
  160. mov #1, r4
  161.  
  162. add #4, r15
  163. mov.l Value18, r12
  164. mov.l Value19, r14
  165. mov.l Value20, r13
  166. jsr @r12
  167. mov #127, r4
  168.  
  169. Func3_Label1
  170. mov #1, r5
  171. jsr @r12
  172. mov #3, r4
  173.  
  174. mov r15, r4
  175. jsr @r13
  176. add r14, r4
  177.  
  178. bra Func3_Label1
  179. tst r0, r0
  180.  
  181.  
  182. Value 17:
  183. .word 0x038B
  184.  
  185. .align 4
  186. Value10:
  187. .long 0xFFFD77FC ! -(0x28804)
  188. Value11:
  189. .long Func4
  190. Value12:
  191. .long Func5
  192. Value13:
  193. .long Func6
  194. Value14:
  195. .long Func7
  196. Value15:
  197. .long Func8
  198. Value16:
  199. .long Func9
  200. Value18:
  201. .long Func10
  202. Value19:
  203. .long 0x28800
  204. Value20:
  205. .long Func11
  206.  
  207.  
  208.  
  209. Func9: ! was 300154
  210. mov.l Func9_Value1, r2
  211. mov.l Func9_Value2, r0
  212. jmp @r2
  213. nop
  214. .align 4
  215. Func9_Value1:
  216. .long 0x80020070
  217. Func9_Value2:
  218. .long 0x1901
  219.  
  220.  
  221. Func4: ! was 300164
  222. mov.l Func4_Value1, r2
  223. mov.l Func4_Value2, r0
  224. jmp @r2
  225. nop
  226. .align 4
  227. Func4_Value1:
  228. .long 0x80020070
  229. Func4_Value2:
  230. .long 0x921
  231.  
  232.  
  233. Func11: ! was 300174
  234. mov.l Func11_Value1, r2
  235. mov.l Func11_Value2, r0
  236. jmp @r2
  237. nop
  238. .align 4
  239. Func11_Value1:
  240. .long 0x80020070
  241. Func11_Value2:
  242. .long 0xEAB
  243.  
  244.  
  245. Func2: ! was 300184
  246. mov.l Func2_Value1, r2
  247. mov.l Func2_Value2, r0
  248. jmp @r2
  249. nop
  250. .align 4
  251. Func2_Value1:
  252. .long 0x80020070
  253. Func2_Value2:
  254. .long 0x29
  255.  
  256.  
  257. Func5: ! was 300194
  258. mov.l Func5_Value1, r2
  259. mov.l Func5_Value2, r0
  260. jmp @r2
  261. nop
  262. .align 4
  263. Func5_Value1:
  264. .long 0x80020070
  265. Func5_Value2:
  266. .long 0xEDE
  267.  
  268.  
  269. Func6: ! was 3001A4
  270. mov.l Func6_Value1, r2
  271. mov.l Func6_Value2, r0
  272. jmp @r2
  273. nop
  274. .align 4
  275. Func6_Value1:
  276. .long 0x80020070
  277. Func6_Value2:
  278. .long 0xEA0
  279.  
  280.  
  281. Func7: ! was 3001B4
  282. mov.l Func7_Value1, r2
  283. mov.l Func7_Value2, r0
  284. jmp @r2
  285. nop
  286. .align 4
  287. Func7_Value1:
  288. .long 0x80020070
  289. Func7_Value2:
  290. .long 0xEA1
  291.  
  292.  
  293. Func8: ! was 3001C4
  294. mov.l Func8_Value1, r2
  295. mov.l Func8_Value2, r0
  296. jmp @r2
  297. nop
  298. .align 4
  299. Func8_Value1:
  300. .long 0x80020070
  301. Func8_Value2:
  302. .long 0x1EF8
  303.  
  304.  
  305. Func10: ! was 3001D4
  306. mov.l Func10_Value1, r2
  307. mov.l Func10_Value2, r0
  308. jmp @r2
  309. nop
  310. .align 4
  311. Func10_Value1:
  312. .long 0x80020070
  313. Func10_Value2:
  314. .long 0x1D73
  315.  
  316.  
  317. .align 4
  318.  
  319. Something1: ! was 3001e4
  320. .long 0x08100004
  321. Something2: ! was 3001e8
  322. .long 0x08100004
  323. Something3: ! was 3001ec
  324. .long 0x08100004
  325. Something5: ! was 3001f0
  326. .long 0x08100004
  327. Something4: ! was 3001f4
  328. .long Something5
  329.  
  330. Something5: ! it's probably the data section values
  331. .long 0x0027D864
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement