Gast
#136688
Hallo, wie erzeuge ich mit avr-gcc (unter Linux) ein Listing, dass aussieht wie das am Ende des Postings? Ich hab mit avr-objdump schon so ein ähnliches Listing erzeugt, aber da fehlen die Kommentare, was die Assemblerbefehle denn jetzt für eine C-Zeile repräsentieren. MfG - C. Lechner ---> schnipp! <--- superFunc(); 148: 0e 94 f6 00 call 0x1ec ultraFunc(0x55); 14c: 85 e5 ldi r24, 0x55 ; 85 14e: 0e 94 fb 00 call 0x1f6 PORTD = gigaFunc(); 152: 0e 94 fd 00 call 0x1fa 156: 82 bb out 0x12, r24 ; 18 PORTA = (addFunc(0xF0, 0x11) & 0xff); 158: 61 e1 ldi r22, 0x11 ; 17 15a: 80 ef ldi r24, 0xF0 ; 240 15c: 0e 94 ff 00 call 0x1fe 160: 8b bb out 0x1b, r24 ; 27 PORTB = (addFunc(0xF0, 0x11) >> 8); 162: 61 e1 ldi r22, 0x11 ; 17 164: 80 ef ldi r24, 0xF0 ; 240 166: 0e 94 fc 00 call 0x1f8 16a: 89 2f mov r24, r25 16c: 99 27 eor r25, r25 16e: 88 bb out 0x18, r24 ; 24