Guest User

Untitled

a guest
Apr 23rd, 2013
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.92 KB | None | 0 0
  1.  
  2. coffstat.elf: file format elf32-avr
  3.  
  4.  
  5. Disassembly of section .text:
  6.  
  7. 00000000 <__vectors>:
  8. 0: 12 c0 rjmp .+36 ; 0x26 <__ctors_end>
  9. 2: 19 c0 rjmp .+50 ; 0x36 <__bad_interrupt>
  10. 4: 18 c0 rjmp .+48 ; 0x36 <__bad_interrupt>
  11. 6: 17 c0 rjmp .+46 ; 0x36 <__bad_interrupt>
  12. 8: 16 c0 rjmp .+44 ; 0x36 <__bad_interrupt>
  13. a: 15 c0 rjmp .+42 ; 0x36 <__bad_interrupt>
  14. c: 14 c0 rjmp .+40 ; 0x36 <__bad_interrupt>
  15. e: 13 c0 rjmp .+38 ; 0x36 <__bad_interrupt>
  16. 10: 12 c0 rjmp .+36 ; 0x36 <__bad_interrupt>
  17. 12: 11 c0 rjmp .+34 ; 0x36 <__bad_interrupt>
  18. 14: 10 c0 rjmp .+32 ; 0x36 <__bad_interrupt>
  19. 16: 0f c0 rjmp .+30 ; 0x36 <__bad_interrupt>
  20. 18: 0e c0 rjmp .+28 ; 0x36 <__bad_interrupt>
  21. 1a: 0d c0 rjmp .+26 ; 0x36 <__bad_interrupt>
  22. 1c: 0c c0 rjmp .+24 ; 0x36 <__bad_interrupt>
  23. 1e: 0b c0 rjmp .+22 ; 0x36 <__bad_interrupt>
  24. 20: 0a c0 rjmp .+20 ; 0x36 <__bad_interrupt>
  25. 22: 09 c0 rjmp .+18 ; 0x36 <__bad_interrupt>
  26. 24: 08 c0 rjmp .+16 ; 0x36 <__bad_interrupt>
  27.  
  28. 00000026 <__ctors_end>:
  29. 26: 11 24 eor r1, r1
  30. 28: 1f be out 0x3f, r1 ; 63
  31. 2a: cf e5 ldi r28, 0x5F ; 95
  32. 2c: d4 e0 ldi r29, 0x04 ; 4
  33. 2e: de bf out 0x3e, r29 ; 62
  34. 30: cd bf out 0x3d, r28 ; 61
  35. 32: 04 d0 rcall .+8 ; 0x3c <main>
  36. 34: 01 c0 rjmp .+2 ; 0x38 <exit>
  37.  
  38. 00000036 <__bad_interrupt>:
  39. 36: e4 cf rjmp .-56 ; 0x0 <__vectors>
  40.  
  41. 00000038 <exit>:
  42. 38: f8 94 cli
  43. 3a: 10 c0 rjmp .+32 ; 0x5c <_exit>
  44.  
  45. 0000003c <main>:
  46. // {
  47. // }
  48.  
  49. int main(void)
  50. {
  51. DDRB |= (1<<PB0);
  52. 3c: b8 9a sbi 0x17, 0 ; 23
  53. PORTB |= (1<<PB0);
  54. 3e: c0 9a sbi 0x18, 0 ; 24
  55.  
  56. while(1) {
  57. _delay_ms(1000);
  58. PORTB ^= (1<<PB0);
  59. 40: 91 e0 ldi r25, 0x01 ; 1
  60. #else
  61. //round up by default
  62. __ticks_dc = (uint32_t)(ceil(fabs(__tmp)));
  63. #endif
  64.  
  65. __builtin_avr_delay_cycles(__ticks_dc);
  66. 42: 2f e3 ldi r18, 0x3F ; 63
  67. 44: 3d e0 ldi r19, 0x0D ; 13
  68. 46: 83 e0 ldi r24, 0x03 ; 3
  69. 48: 21 50 subi r18, 0x01 ; 1
  70. 4a: 30 40 sbci r19, 0x00 ; 0
  71. 4c: 80 40 sbci r24, 0x00 ; 0
  72. 4e: e1 f7 brne .-8 ; 0x48 <__SREG__+0x9>
  73. 50: 00 c0 rjmp .+0 ; 0x52 <__SREG__+0x13>
  74. 52: 00 00 nop
  75. 54: 88 b3 in r24, 0x18 ; 24
  76. 56: 89 27 eor r24, r25
  77. 58: 88 bb out 0x18, r24 ; 24
  78. 5a: f3 cf rjmp .-26 ; 0x42 <__SREG__+0x3>
  79.  
  80. 0000005c <_exit>:
  81. 5c: f8 94 cli
  82.  
  83. 0000005e <__stop_program>:
  84. 5e: ff cf rjmp .-2 ; 0x5e <__stop_program>
  85. /tmp/cccVPe3U.s:
  86. typedef void void;
  87. void __vectors ()
  88. { /* 0x0 */
  89. /* file ../../../../crt1/gcrt1.S line 52 addr 0x0 */
  90. /* file ../../../../crt1/gcrt1.S line 53 addr 0x2 */
  91. /* file ../../../../crt1/gcrt1.S line 54 addr 0x4 */
  92. /* file ../../../../crt1/gcrt1.S line 55 addr 0x6 */
  93. /* file ../../../../crt1/gcrt1.S line 56 addr 0x8 */
  94. /* file ../../../../crt1/gcrt1.S line 57 addr 0xa */
  95. /* file ../../../../crt1/gcrt1.S line 58 addr 0xc */
  96. /* file ../../../../crt1/gcrt1.S line 59 addr 0xe */
  97. /* file ../../../../crt1/gcrt1.S line 60 addr 0x10 */
  98. /* file ../../../../crt1/gcrt1.S line 61 addr 0x12 */
  99. /* file ../../../../crt1/gcrt1.S line 62 addr 0x14 */
  100. /* file ../../../../crt1/gcrt1.S line 63 addr 0x16 */
  101. /* file ../../../../crt1/gcrt1.S line 64 addr 0x18 */
  102. /* file ../../../../crt1/gcrt1.S line 65 addr 0x1a */
  103. /* file ../../../../crt1/gcrt1.S line 66 addr 0x1c */
  104. /* file ../../../../crt1/gcrt1.S line 67 addr 0x1e */
  105. /* file ../../../../crt1/gcrt1.S line 68 addr 0x20 */
  106. /* file ../../../../crt1/gcrt1.S line 69 addr 0x22 */
  107. /* file ../../../../crt1/gcrt1.S line 70 addr 0x24 */
  108. } /* 0x26 */
  109. ../../../../crt1/gcrt1.S:
  110. /* file ../../../../crt1/gcrt1.S line 71 addr 0x26 */
  111. /* file ../../../../crt1/gcrt1.S line 72 addr 0x26 */
  112. /* file ../../../../crt1/gcrt1.S line 73 addr 0x26 */
  113. /* file ../../../../crt1/gcrt1.S line 74 addr 0x26 */
  114. /* file ../../../../crt1/gcrt1.S line 75 addr 0x26 */
  115. /* file ../../../../crt1/gcrt1.S line 76 addr 0x26 */
  116. /* file ../../../../crt1/gcrt1.S line 77 addr 0x26 */
  117. /* file ../../../../crt1/gcrt1.S line 78 addr 0x26 */
  118. /* file ../../../../crt1/gcrt1.S line 79 addr 0x26 */
  119. /* file ../../../../crt1/gcrt1.S line 80 addr 0x26 */
  120. /* file ../../../../crt1/gcrt1.S line 81 addr 0x26 */
  121. /* file ../../../../crt1/gcrt1.S line 82 addr 0x26 */
  122. /* file ../../../../crt1/gcrt1.S line 83 addr 0x26 */
  123. /* file ../../../../crt1/gcrt1.S line 84 addr 0x26 */
  124. /* file ../../../../crt1/gcrt1.S line 85 addr 0x26 */
  125. /* file ../../../../crt1/gcrt1.S line 86 addr 0x26 */
  126. /* file ../../../../crt1/gcrt1.S line 87 addr 0x26 */
  127. /* file ../../../../crt1/gcrt1.S line 88 addr 0x26 */
  128. /* file ../../../../crt1/gcrt1.S line 89 addr 0x26 */
  129. /* file ../../../../crt1/gcrt1.S line 90 addr 0x26 */
  130. /* file ../../../../crt1/gcrt1.S line 91 addr 0x26 */
  131. /* file ../../../../crt1/gcrt1.S line 92 addr 0x26 */
  132. /* file ../../../../crt1/gcrt1.S line 93 addr 0x26 */
  133. /* file ../../../../crt1/gcrt1.S line 94 addr 0x26 */
  134. /* file ../../../../crt1/gcrt1.S line 95 addr 0x26 */
  135. /* file ../../../../crt1/gcrt1.S line 96 addr 0x26 */
  136. /* file ../../../../crt1/gcrt1.S line 97 addr 0x26 */
  137. /* file ../../../../crt1/gcrt1.S line 98 addr 0x26 */
  138. /* file ../../../../crt1/gcrt1.S line 99 addr 0x26 */
  139. /* file ../../../../crt1/gcrt1.S line 100 addr 0x26 */
  140. /* file ../../../../crt1/gcrt1.S line 101 addr 0x26 */
  141. /* file ../../../../crt1/gcrt1.S line 102 addr 0x26 */
  142. /* file ../../../../crt1/gcrt1.S line 103 addr 0x26 */
  143. /* file ../../../../crt1/gcrt1.S line 104 addr 0x26 */
  144. /* file ../../../../crt1/gcrt1.S line 105 addr 0x26 */
  145. /* file ../../../../crt1/gcrt1.S line 106 addr 0x26 */
  146. /* file ../../../../crt1/gcrt1.S line 107 addr 0x26 */
  147. /* file ../../../../crt1/gcrt1.S line 108 addr 0x26 */
  148. /* file ../../../../crt1/gcrt1.S line 109 addr 0x26 */
  149. /* file ../../../../crt1/gcrt1.S line 110 addr 0x26 */
  150. /* file ../../../../crt1/gcrt1.S line 111 addr 0x26 */
  151. /* file ../../../../crt1/gcrt1.S line 112 addr 0x26 */
  152. /* file ../../../../crt1/gcrt1.S line 113 addr 0x26 */
  153. /* file ../../../../crt1/gcrt1.S line 114 addr 0x26 */
  154. /* file ../../../../crt1/gcrt1.S line 115 addr 0x26 */
  155. /* file ../../../../crt1/gcrt1.S line 116 addr 0x26 */
  156. /* file ../../../../crt1/gcrt1.S line 117 addr 0x26 */
  157. /* file ../../../../crt1/gcrt1.S line 118 addr 0x26 */
  158. /* file ../../../../crt1/gcrt1.S line 119 addr 0x26 */
  159. /* file ../../../../crt1/gcrt1.S line 120 addr 0x26 */
  160. /* file ../../../../crt1/gcrt1.S line 121 addr 0x26 */
  161. /* file ../../../../crt1/gcrt1.S line 122 addr 0x26 */
  162. /* file ../../../../crt1/gcrt1.S line 123 addr 0x26 */
  163. /* file ../../../../crt1/gcrt1.S line 124 addr 0x26 */
  164. /* file ../../../../crt1/gcrt1.S line 125 addr 0x26 */
  165. /* file ../../../../crt1/gcrt1.S line 126 addr 0x26 */
  166. /* file ../../../../crt1/gcrt1.S line 127 addr 0x26 */
  167. /* file ../../../../crt1/gcrt1.S line 128 addr 0x26 */
  168. /* file ../../../../crt1/gcrt1.S line 129 addr 0x26 */
  169. /* file ../../../../crt1/gcrt1.S line 130 addr 0x26 */
  170. /* file ../../../../crt1/gcrt1.S line 131 addr 0x26 */
  171. /* file ../../../../crt1/gcrt1.S line 132 addr 0x26 */
  172. /* file ../../../../crt1/gcrt1.S line 133 addr 0x26 */
  173. /* file ../../../../crt1/gcrt1.S line 134 addr 0x26 */
  174. /* file ../../../../crt1/gcrt1.S line 135 addr 0x26 */
  175. /* file ../../../../crt1/gcrt1.S line 136 addr 0x26 */
  176. /* file ../../../../crt1/gcrt1.S line 137 addr 0x26 */
  177. /* file ../../../../crt1/gcrt1.S line 138 addr 0x26 */
  178. /* file ../../../../crt1/gcrt1.S line 139 addr 0x26 */
  179. /* file ../../../../crt1/gcrt1.S line 140 addr 0x26 */
  180. /* file ../../../../crt1/gcrt1.S line 141 addr 0x26 */
  181. /* file ../../../../crt1/gcrt1.S line 142 addr 0x26 */
  182. /* file ../../../../crt1/gcrt1.S line 143 addr 0x26 */
  183. /* file ../../../../crt1/gcrt1.S line 144 addr 0x26 */
  184. /* file ../../../../crt1/gcrt1.S line 145 addr 0x26 */
  185. /* file ../../../../crt1/gcrt1.S line 146 addr 0x26 */
  186. /* file ../../../../crt1/gcrt1.S line 147 addr 0x26 */
  187. /* file ../../../../crt1/gcrt1.S line 148 addr 0x26 */
  188. /* file ../../../../crt1/gcrt1.S line 149 addr 0x26 */
  189. /* file ../../../../crt1/gcrt1.S line 150 addr 0x26 */
  190. /* file ../../../../crt1/gcrt1.S line 151 addr 0x26 */
  191. /* file ../../../../crt1/gcrt1.S line 152 addr 0x26 */
  192. /* file ../../../../crt1/gcrt1.S line 153 addr 0x26 */
  193. /* file ../../../../crt1/gcrt1.S line 154 addr 0x26 */
  194. /* file ../../../../crt1/gcrt1.S line 155 addr 0x26 */
  195. /* file ../../../../crt1/gcrt1.S line 156 addr 0x26 */
  196. /* file ../../../../crt1/gcrt1.S line 157 addr 0x26 */
  197. /* file ../../../../crt1/gcrt1.S line 158 addr 0x26 */
  198. /* file ../../../../crt1/gcrt1.S line 159 addr 0x26 */
  199. /* file ../../../../crt1/gcrt1.S line 160 addr 0x26 */
  200. /* file ../../../../crt1/gcrt1.S line 161 addr 0x26 */
  201. /* file ../../../../crt1/gcrt1.S line 162 addr 0x26 */
  202. /* file ../../../../crt1/gcrt1.S line 163 addr 0x26 */
  203. /* file ../../../../crt1/gcrt1.S line 164 addr 0x26 */
  204. /* file ../../../../crt1/gcrt1.S line 165 addr 0x26 */
  205. /* file ../../../../crt1/gcrt1.S line 166 addr 0x26 */
  206. /* file ../../../../crt1/gcrt1.S line 167 addr 0x26 */
  207. /* file ../../../../crt1/gcrt1.S line 168 addr 0x26 */
  208. /* file ../../../../crt1/gcrt1.S line 169 addr 0x26 */
  209. /* file ../../../../crt1/gcrt1.S line 170 addr 0x26 */
  210. /* file ../../../../crt1/gcrt1.S line 171 addr 0x26 */
  211. /* file ../../../../crt1/gcrt1.S line 172 addr 0x26 */
  212. /* file ../../../../crt1/gcrt1.S line 173 addr 0x26 */
  213. /* file ../../../../crt1/gcrt1.S line 174 addr 0x26 */
  214. /* file ../../../../crt1/gcrt1.S line 175 addr 0x26 */
  215. /* file ../../../../crt1/gcrt1.S line 176 addr 0x26 */
  216. /* file ../../../../crt1/gcrt1.S line 177 addr 0x26 */
  217. /* file ../../../../crt1/gcrt1.S line 178 addr 0x26 */
  218. /* file ../../../../crt1/gcrt1.S line 179 addr 0x26 */
  219. void __bad_interrupt ()
  220. { /* 0x36 */
  221. /* file ../../../../crt1/gcrt1.S line 195 addr 0x36 */
  222. /* file ../../../../crt1/gcrt1.S line 216 addr 0x26 */
  223. /* file ../../../../crt1/gcrt1.S line 217 addr 0x28 */
  224. /* file ../../../../crt1/gcrt1.S line 218 addr 0x2a */
  225. /* file ../../../../crt1/gcrt1.S line 220 addr 0x2c */
  226. /* file ../../../../crt1/gcrt1.S line 221 addr 0x2e */
  227. /* file ../../../../crt1/gcrt1.S line 223 addr 0x30 */
  228. /* file ../../../../crt1/gcrt1.S line 292 addr 0x32 */
  229. /* file ../../../../crt1/gcrt1.S line 293 addr 0x34 */
  230. } /* 0x38 */
  231. /tmp/cc8ixB9o.s:
  232. ../../../libc/stdlib/exit.S:
  233. /* file ../../../libc/stdlib/exit.S line 40 addr 0x38 */
  234. /* file ../../../libc/stdlib/exit.S line 41 addr 0x3a */
  235. /home/gregor/projekte/elektronik/coffstat/coffstat.c:
  236. typedef int16 int;
  237. typedef int8 char;
  238. typedef int32 long int;
  239. typedef uint16 unsigned int;
  240. typedef uint32 long unsigned int;
  241. typedef int64 long long int;
  242. typedef uint64 long long unsigned int;
  243. typedef int16 short int;
  244. typedef uint16 short unsigned int;
  245. typedef int8 signed char;
  246. typedef uint8 unsigned char;
  247. typedef float float;
  248. typedef float double;
  249. typedef float long double;
  250. typedef float8 short _Fract;
  251. typedef float long _Fract;
  252. typedef double long long _Fract;
  253. typedef float8 unsigned short _Fract;
  254. typedef float16 unsigned _Fract;
  255. typedef float unsigned long _Fract;
  256. typedef double unsigned long long _Fract;
  257. typedef float8 _Sat short _Fract;
  258. typedef float16 _Sat _Fract;
  259. typedef float _Sat long _Fract;
  260. typedef double _Sat long long _Fract;
  261. typedef float8 _Sat unsigned short _Fract;
  262. typedef float16 _Sat unsigned _Fract;
  263. typedef float _Sat unsigned long _Fract;
  264. typedef double _Sat unsigned long long _Fract;
  265. typedef float16 short _Accum;
  266. typedef double long _Accum;
  267. typedef double long long _Accum;
  268. typedef float16 unsigned short _Accum;
  269. typedef float unsigned _Accum;
  270. typedef double unsigned long _Accum;
  271. typedef double unsigned long long _Accum;
  272. typedef float16 _Sat short _Accum;
  273. typedef float _Sat _Accum;
  274. typedef double _Sat long _Accum;
  275. typedef double _Sat long long _Accum;
  276. typedef float16 _Sat unsigned short _Accum;
  277. typedef float _Sat unsigned _Accum;
  278. typedef double _Sat unsigned long _Accum;
  279. typedef double _Sat unsigned long long _Accum;
  280. typedef void void;
  281. int main ()
  282. { /* 0x3c */
  283. /* file /home/gregor/projekte/elektronik/coffstat/coffstat.c line 12 addr 0x3c */
  284. /* file /home/gregor/projekte/elektronik/coffstat/coffstat.c line 13 addr 0x3c */
  285. /* file /home/gregor/projekte/elektronik/coffstat/coffstat.c line 14 addr 0x3e */
  286. /* file /home/gregor/projekte/elektronik/coffstat/coffstat.c line 18 addr 0x40 */
  287. /* file /usr/avr/include/util/delay.h line 164 addr 0x42 */
  288. /* file coffstat.c line 18 addr 0x54 */
  289. } /* 0x5c */
  290. /usr/avr/include/avr/io.h:
  291. /usr/avr/include/avr/sfr_defs.h:
  292. /usr/avr/include/inttypes.h:
  293. typedef long int int_farptr_t;
  294. typedef long unsigned int uint_farptr_t;
  295. /usr/lib/gcc/avr/4.8.0/include/stdint.h:
  296. /usr/avr/include/stdint.h:
  297. typedef signed char int8_t;
  298. typedef unsigned char uint8_t;
  299. typedef int int16_t;
  300. typedef unsigned int uint16_t;
  301. typedef long int int32_t;
  302. typedef long unsigned int uint32_t;
  303. typedef long long int int64_t;
  304. typedef long long unsigned int uint64_t;
  305. typedef int16_t intptr_t;
  306. typedef uint16_t uintptr_t;
  307. typedef int8_t int_least8_t;
  308. typedef uint8_t uint_least8_t;
  309. typedef int16_t int_least16_t;
  310. typedef uint16_t uint_least16_t;
  311. typedef int32_t int_least32_t;
  312. typedef uint32_t uint_least32_t;
  313. typedef int64_t int_least64_t;
  314. typedef uint64_t uint_least64_t;
  315. typedef int8_t int_fast8_t;
  316. typedef uint8_t uint_fast8_t;
  317. typedef int16_t int_fast16_t;
  318. typedef uint16_t uint_fast16_t;
  319. typedef int32_t int_fast32_t;
  320. typedef uint32_t uint_fast32_t;
  321. typedef int64_t int_fast64_t;
  322. typedef uint64_t uint_fast64_t;
  323. typedef int64_t intmax_t;
  324. typedef uint64_t uintmax_t;
  325. /usr/avr/include/avr/fuse.h:
  326. typedef struct %anon1 { /* size 2 */
  327. unsigned char low; /* bitsize 8, bitpos 0 */
  328. unsigned char high; /* bitsize 8, bitpos 8 */
  329. } __fuse_t;
  330. /usr/avr/include/util/delay.h:
  331. coffstat.c:
Advertisement
Add Comment
Please, Sign In to add comment