Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- coffstat.elf: file format elf32-avr
- Disassembly of section .text:
- 00000000 <__vectors>:
- 0: 12 c0 rjmp .+36 ; 0x26 <__ctors_end>
- 2: 19 c0 rjmp .+50 ; 0x36 <__bad_interrupt>
- 4: 18 c0 rjmp .+48 ; 0x36 <__bad_interrupt>
- 6: 17 c0 rjmp .+46 ; 0x36 <__bad_interrupt>
- 8: 16 c0 rjmp .+44 ; 0x36 <__bad_interrupt>
- a: 15 c0 rjmp .+42 ; 0x36 <__bad_interrupt>
- c: 14 c0 rjmp .+40 ; 0x36 <__bad_interrupt>
- e: 13 c0 rjmp .+38 ; 0x36 <__bad_interrupt>
- 10: 12 c0 rjmp .+36 ; 0x36 <__bad_interrupt>
- 12: 11 c0 rjmp .+34 ; 0x36 <__bad_interrupt>
- 14: 10 c0 rjmp .+32 ; 0x36 <__bad_interrupt>
- 16: 0f c0 rjmp .+30 ; 0x36 <__bad_interrupt>
- 18: 0e c0 rjmp .+28 ; 0x36 <__bad_interrupt>
- 1a: 0d c0 rjmp .+26 ; 0x36 <__bad_interrupt>
- 1c: 0c c0 rjmp .+24 ; 0x36 <__bad_interrupt>
- 1e: 0b c0 rjmp .+22 ; 0x36 <__bad_interrupt>
- 20: 0a c0 rjmp .+20 ; 0x36 <__bad_interrupt>
- 22: 09 c0 rjmp .+18 ; 0x36 <__bad_interrupt>
- 24: 08 c0 rjmp .+16 ; 0x36 <__bad_interrupt>
- 00000026 <__ctors_end>:
- 26: 11 24 eor r1, r1
- 28: 1f be out 0x3f, r1 ; 63
- 2a: cf e5 ldi r28, 0x5F ; 95
- 2c: d4 e0 ldi r29, 0x04 ; 4
- 2e: de bf out 0x3e, r29 ; 62
- 30: cd bf out 0x3d, r28 ; 61
- 32: 04 d0 rcall .+8 ; 0x3c <main>
- 34: 01 c0 rjmp .+2 ; 0x38 <exit>
- 00000036 <__bad_interrupt>:
- 36: e4 cf rjmp .-56 ; 0x0 <__vectors>
- 00000038 <exit>:
- 38: f8 94 cli
- 3a: 10 c0 rjmp .+32 ; 0x5c <_exit>
- 0000003c <main>:
- // {
- // }
- int main(void)
- {
- DDRB |= (1<<PB0);
- 3c: b8 9a sbi 0x17, 0 ; 23
- PORTB |= (1<<PB0);
- 3e: c0 9a sbi 0x18, 0 ; 24
- while(1) {
- _delay_ms(1000);
- PORTB ^= (1<<PB0);
- 40: 91 e0 ldi r25, 0x01 ; 1
- #else
- //round up by default
- __ticks_dc = (uint32_t)(ceil(fabs(__tmp)));
- #endif
- __builtin_avr_delay_cycles(__ticks_dc);
- 42: 2f e3 ldi r18, 0x3F ; 63
- 44: 3d e0 ldi r19, 0x0D ; 13
- 46: 83 e0 ldi r24, 0x03 ; 3
- 48: 21 50 subi r18, 0x01 ; 1
- 4a: 30 40 sbci r19, 0x00 ; 0
- 4c: 80 40 sbci r24, 0x00 ; 0
- 4e: e1 f7 brne .-8 ; 0x48 <__SREG__+0x9>
- 50: 00 c0 rjmp .+0 ; 0x52 <__SREG__+0x13>
- 52: 00 00 nop
- 54: 88 b3 in r24, 0x18 ; 24
- 56: 89 27 eor r24, r25
- 58: 88 bb out 0x18, r24 ; 24
- 5a: f3 cf rjmp .-26 ; 0x42 <__SREG__+0x3>
- 0000005c <_exit>:
- 5c: f8 94 cli
- 0000005e <__stop_program>:
- 5e: ff cf rjmp .-2 ; 0x5e <__stop_program>
- /tmp/cccVPe3U.s:
- typedef void void;
- void __vectors ()
- { /* 0x0 */
- /* file ../../../../crt1/gcrt1.S line 52 addr 0x0 */
- /* file ../../../../crt1/gcrt1.S line 53 addr 0x2 */
- /* file ../../../../crt1/gcrt1.S line 54 addr 0x4 */
- /* file ../../../../crt1/gcrt1.S line 55 addr 0x6 */
- /* file ../../../../crt1/gcrt1.S line 56 addr 0x8 */
- /* file ../../../../crt1/gcrt1.S line 57 addr 0xa */
- /* file ../../../../crt1/gcrt1.S line 58 addr 0xc */
- /* file ../../../../crt1/gcrt1.S line 59 addr 0xe */
- /* file ../../../../crt1/gcrt1.S line 60 addr 0x10 */
- /* file ../../../../crt1/gcrt1.S line 61 addr 0x12 */
- /* file ../../../../crt1/gcrt1.S line 62 addr 0x14 */
- /* file ../../../../crt1/gcrt1.S line 63 addr 0x16 */
- /* file ../../../../crt1/gcrt1.S line 64 addr 0x18 */
- /* file ../../../../crt1/gcrt1.S line 65 addr 0x1a */
- /* file ../../../../crt1/gcrt1.S line 66 addr 0x1c */
- /* file ../../../../crt1/gcrt1.S line 67 addr 0x1e */
- /* file ../../../../crt1/gcrt1.S line 68 addr 0x20 */
- /* file ../../../../crt1/gcrt1.S line 69 addr 0x22 */
- /* file ../../../../crt1/gcrt1.S line 70 addr 0x24 */
- } /* 0x26 */
- ../../../../crt1/gcrt1.S:
- /* file ../../../../crt1/gcrt1.S line 71 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 72 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 73 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 74 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 75 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 76 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 77 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 78 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 79 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 80 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 81 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 82 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 83 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 84 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 85 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 86 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 87 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 88 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 89 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 90 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 91 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 92 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 93 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 94 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 95 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 96 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 97 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 98 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 99 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 100 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 101 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 102 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 103 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 104 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 105 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 106 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 107 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 108 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 109 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 110 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 111 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 112 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 113 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 114 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 115 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 116 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 117 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 118 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 119 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 120 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 121 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 122 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 123 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 124 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 125 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 126 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 127 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 128 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 129 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 130 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 131 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 132 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 133 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 134 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 135 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 136 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 137 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 138 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 139 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 140 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 141 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 142 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 143 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 144 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 145 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 146 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 147 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 148 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 149 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 150 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 151 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 152 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 153 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 154 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 155 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 156 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 157 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 158 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 159 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 160 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 161 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 162 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 163 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 164 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 165 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 166 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 167 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 168 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 169 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 170 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 171 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 172 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 173 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 174 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 175 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 176 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 177 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 178 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 179 addr 0x26 */
- void __bad_interrupt ()
- { /* 0x36 */
- /* file ../../../../crt1/gcrt1.S line 195 addr 0x36 */
- /* file ../../../../crt1/gcrt1.S line 216 addr 0x26 */
- /* file ../../../../crt1/gcrt1.S line 217 addr 0x28 */
- /* file ../../../../crt1/gcrt1.S line 218 addr 0x2a */
- /* file ../../../../crt1/gcrt1.S line 220 addr 0x2c */
- /* file ../../../../crt1/gcrt1.S line 221 addr 0x2e */
- /* file ../../../../crt1/gcrt1.S line 223 addr 0x30 */
- /* file ../../../../crt1/gcrt1.S line 292 addr 0x32 */
- /* file ../../../../crt1/gcrt1.S line 293 addr 0x34 */
- } /* 0x38 */
- /tmp/cc8ixB9o.s:
- ../../../libc/stdlib/exit.S:
- /* file ../../../libc/stdlib/exit.S line 40 addr 0x38 */
- /* file ../../../libc/stdlib/exit.S line 41 addr 0x3a */
- /home/gregor/projekte/elektronik/coffstat/coffstat.c:
- typedef int16 int;
- typedef int8 char;
- typedef int32 long int;
- typedef uint16 unsigned int;
- typedef uint32 long unsigned int;
- typedef int64 long long int;
- typedef uint64 long long unsigned int;
- typedef int16 short int;
- typedef uint16 short unsigned int;
- typedef int8 signed char;
- typedef uint8 unsigned char;
- typedef float float;
- typedef float double;
- typedef float long double;
- typedef float8 short _Fract;
- typedef float long _Fract;
- typedef double long long _Fract;
- typedef float8 unsigned short _Fract;
- typedef float16 unsigned _Fract;
- typedef float unsigned long _Fract;
- typedef double unsigned long long _Fract;
- typedef float8 _Sat short _Fract;
- typedef float16 _Sat _Fract;
- typedef float _Sat long _Fract;
- typedef double _Sat long long _Fract;
- typedef float8 _Sat unsigned short _Fract;
- typedef float16 _Sat unsigned _Fract;
- typedef float _Sat unsigned long _Fract;
- typedef double _Sat unsigned long long _Fract;
- typedef float16 short _Accum;
- typedef double long _Accum;
- typedef double long long _Accum;
- typedef float16 unsigned short _Accum;
- typedef float unsigned _Accum;
- typedef double unsigned long _Accum;
- typedef double unsigned long long _Accum;
- typedef float16 _Sat short _Accum;
- typedef float _Sat _Accum;
- typedef double _Sat long _Accum;
- typedef double _Sat long long _Accum;
- typedef float16 _Sat unsigned short _Accum;
- typedef float _Sat unsigned _Accum;
- typedef double _Sat unsigned long _Accum;
- typedef double _Sat unsigned long long _Accum;
- typedef void void;
- int main ()
- { /* 0x3c */
- /* file /home/gregor/projekte/elektronik/coffstat/coffstat.c line 12 addr 0x3c */
- /* file /home/gregor/projekte/elektronik/coffstat/coffstat.c line 13 addr 0x3c */
- /* file /home/gregor/projekte/elektronik/coffstat/coffstat.c line 14 addr 0x3e */
- /* file /home/gregor/projekte/elektronik/coffstat/coffstat.c line 18 addr 0x40 */
- /* file /usr/avr/include/util/delay.h line 164 addr 0x42 */
- /* file coffstat.c line 18 addr 0x54 */
- } /* 0x5c */
- /usr/avr/include/avr/io.h:
- /usr/avr/include/avr/sfr_defs.h:
- /usr/avr/include/inttypes.h:
- typedef long int int_farptr_t;
- typedef long unsigned int uint_farptr_t;
- /usr/lib/gcc/avr/4.8.0/include/stdint.h:
- /usr/avr/include/stdint.h:
- typedef signed char int8_t;
- typedef unsigned char uint8_t;
- typedef int int16_t;
- typedef unsigned int uint16_t;
- typedef long int int32_t;
- typedef long unsigned int uint32_t;
- typedef long long int int64_t;
- typedef long long unsigned int uint64_t;
- typedef int16_t intptr_t;
- typedef uint16_t uintptr_t;
- typedef int8_t int_least8_t;
- typedef uint8_t uint_least8_t;
- typedef int16_t int_least16_t;
- typedef uint16_t uint_least16_t;
- typedef int32_t int_least32_t;
- typedef uint32_t uint_least32_t;
- typedef int64_t int_least64_t;
- typedef uint64_t uint_least64_t;
- typedef int8_t int_fast8_t;
- typedef uint8_t uint_fast8_t;
- typedef int16_t int_fast16_t;
- typedef uint16_t uint_fast16_t;
- typedef int32_t int_fast32_t;
- typedef uint32_t uint_fast32_t;
- typedef int64_t int_fast64_t;
- typedef uint64_t uint_fast64_t;
- typedef int64_t intmax_t;
- typedef uint64_t uintmax_t;
- /usr/avr/include/avr/fuse.h:
- typedef struct %anon1 { /* size 2 */
- unsigned char low; /* bitsize 8, bitpos 0 */
- unsigned char high; /* bitsize 8, bitpos 8 */
- } __fuse_t;
- /usr/avr/include/util/delay.h:
- coffstat.c:
Advertisement
Add Comment
Please, Sign In to add comment