1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211
|
5a4: 80 83 st Z, r24
*********************************************************************************
loop():
......./Bug_IF_Bpj_NOK_end-start_asm_simp_NOK_1-8-5_Os.ino:21
**** recu = true;
5a6: 11 e0 ldi r17, 0x01 ; 1 //*** ???pour recu=true????
......./Bug_IF_Bpj_NOK_end-start_asm_simp_NOK_1-8-5_Os.ino:11
**** recu = false;
void loop();
5a8: 10 92 18 01 sts 0x0118, r1 ; 0x800118 <__data_end> //*** r1->recu
......./Bug_IF_Bpj_NOK_end-start_asm_simp_NOK_1-8-5_Os.ino:12
**** if ( n_trame <= 3 )
#line 5 +++++++Bug_IF_Bpj_NOK_end-start_asm_simp_NOK_1-8-5_Os.ino"
5ac: c0 91 01 01 lds r28, 0x0101 ; 0x800101 <n_trame> //*** n_trame->r28,r29
5b0: d0 91 02 01 lds r29, 0x0102 ; 0x800102 <n_trame+0x1>
......./Bug_IF_Bpj_NOK_end-start_asm_simp_NOK_1-8-5_Os.ino:14
while ( !recu )
5b4: 80 91 18 01 lds r24, 0x0118 ; 0x800118 <__data_end> //*** recu->r24
5b8: 81 11 cpse r24, r1 //*** saut à 5bc si r24=51 (recu = false)
5ba: 12 c0 rjmp .+36 ; 0x5e0 <main+0x12a> //*** saut si recu=vrai (pour print)
......./Bug_IF_Bpj_NOK_end-start_asm_simp_NOK_1-8-5_Os.ino:16
**** if (Serial.available() > 0)
5bc: 82 e2 ldi r24, 0x22 ; 34
5be: 91 e0 ldi r25, 0x01 ; 1
5c0: 0e 94 c0 00 call 0x180 ; 0x180 <_ZN14HardwareSerial9availableEv>
5c4: 18 16 cp r1, r24
5c6: 19 06 cpc r1, r25
5c8: ac f7 brge .-22 ; 0x5b4 <main+0xfe>
......./Bug_IF_Bpj_NOK_end-start_asm_simp_NOK_1-8-5_Os.ino:18
**** incomingByte = Serial.read();
5ca: 82 e2 ldi r24, 0x22 ; 34
5cc: 91 e0 ldi r25, 0x01 ; 1
5ce: 0e 94 9e 00 call 0x13c ; 0x13c <_ZN14HardwareSerial4readEv>
5d2: 80 93 00 01 sts 0x0100, r24 ; 0x800100 <__data_start> //*** r24->incomingByte
......./Bug_IF_Bpj_NOK_end-start_asm_simp_NOK_1-8-5_Os.ino:19
**** if (incomingByte == 'c' )
5d6: 83 36 cpi r24, 0x63 ; 99 //*** if (incomingByte == 'c' )
5d8: 69 f7 brne .-38 ; 0x5b4 <main+0xfe> //*** saut à while(!recu) si r24!= c
......./Bug_IF_Bpj_NOK_end-start_asm_simp_NOK_1-8-5_Os.ino:21
**** recu = true;
5da: 10 93 18 01 sts 0x0118, r17 ; 0x800118 <__data_end> //*** r17->recu
5de: ea cf rjmp .-44 ; 0x5b4 <main+0xfe> //*** saut à while(!recu)
5e0: 6e 01 movw r12, r28
5e2: 0d 2e mov r0, r29
5e4: 00 0c add r0, r0
5e6: ee 08 sbc r14, r14
5e8: ff 08 sbc r15, r15
print():
_Sauv_Arduino_1-8-5\hardware\arduino\avr\cores\arduino/Print.cpp:92
size_t Print::print(long n, int base)
{
if (base == 0) {
return write(n);
} else if (base == 10) {
if (n < 0) {
5ea: d7 ff sbrs r29, 7
5ec: 14 c0 rjmp .+40 ; 0x616 <main+0x160>
_Sauv_Arduino_1-8-5\hardware\arduino\avr\cores\arduino/Print.cpp:69
return write(str);
}
size_t Print::print(char c)
{
return write(c);
5ee: e0 91 22 01 lds r30, 0x0122 ; 0x800122 <Serial>
5f2: f0 91 23 01 lds r31, 0x0123 ; 0x800123 <Serial+0x1>
5f6: 01 90 ld r0, Z+
5f8: f0 81 ld r31, Z
5fa: e0 2d mov r30, r0
5fc: 6d e2 ldi r22, 0x2D ; 45
5fe: 82 e2 ldi r24, 0x22 ; 34
600: 91 e0 ldi r25, 0x01 ; 1
602: 09 95 icall
_Sauv_Arduino_1-8-5\hardware\arduino\avr\cores\arduino/Print.cpp:94
if (base == 0) {
return write(n);
} else if (base == 10) {
if (n < 0) {
int t = print('-');
n = -n;
604: 66 27 eor r22, r22
606: 77 27 eor r23, r23
608: cb 01 movw r24, r22
60a: 6c 19 sub r22, r12
60c: 7d 09 sbc r23, r13
60e: 8e 09 sbc r24, r14
610: 9f 09 sbc r25, r15
_Sauv_Arduino_1-8-5\hardware\arduino\avr\cores\arduino/Print.cpp:95
return printNumber(n, 10) + t;
612: 4a e0 ldi r20, 0x0A ; 10
614: 03 c0 rjmp .+6 ; 0x61c <main+0x166>
_Sauv_Arduino_1-8-5\hardware\arduino\avr\cores\arduino/Print.cpp:97
}
return printNumber(n, 10);
616: 4a e0 ldi r20, 0x0A ; 10
618: c7 01 movw r24, r14
61a: b6 01 movw r22, r12
61c: 0e 94 66 01 call 0x2cc ; 0x2cc <_ZN5Print11printNumberEmh.constprop.7>
write():
_Sauv_Arduino_1-8-5\hardware\arduino\avr\cores\arduino/Print.h:54
return write((const uint8_t *)str, strlen(str));
620: 42 e0 ldi r20, 0x02 ; 2
622: 50 e0 ldi r21, 0x00 ; 0
624: 65 e1 ldi r22, 0x15 ; 21
626: 71 e0 ldi r23, 0x01 ; 1
628: 82 e2 ldi r24, 0x22 ; 34
62a: 91 e0 ldi r25, 0x01 ; 1
62c: 0e 94 5f 00 call 0xbe ; 0xbe <_ZN5Print5writeEPKhj>
loop():
......./Bug_IF_Bpj_NOK_end-start_asm_simp_NOK_1-8-5_Os.ino:26
**** n_trame++;
630: 80 91 01 01 lds r24, 0x0101 ; 0x800101 <n_trame> //*** n_trame->r24,r25
634: 90 91 02 01 lds r25, 0x0102 ; 0x800102 <n_trame+0x1>
638: 01 96 adiw r24, 0x01 ; 1
63a: 90 93 02 01 sts 0x0102, r25 ; 0x800102 <n_trame+0x1> //*** n_trame++
63e: 80 93 01 01 sts 0x0101, r24 ; 0x800101 <n_trame>
main():
_Sauv_Arduino_1-8-5\hardware\arduino\avr\cores\arduino/main.cpp:47
**** if (serialEventRun) serialEventRun();
642: 0e 94 5c 01 call 0x2b8 ; 0x2b8 <_Z14serialEventRunv>
646: b0 cf rjmp .-160 ; 0x5a8 <main+0xf2> //*** saut à début loop
// ********************************************************************************************
00000648 <_GLOBAL__sub_I___vector_18>:
_ZN5PrintC2Ev():
_Sauv_Arduino_1-8-5\hardware\arduino\avr\cores\arduino/Print.h:46
size_t printNumber(unsigned long, uint8_t);
size_t printFloat(double, uint8_t);
protected:
void setWriteError(int err = 1) { write_error = err; }
public:
Print() : write_error(0) {}
648: e2 e2 ldi r30, 0x22 ; 34
64a: f1 e0 ldi r31, 0x01 ; 1
64c: 13 82 std Z+3, r1 ; 0x03
64e: 12 82 std Z+2, r1 ; 0x02
_GLOBAL__sub_I___vector_18():
_Sauv_Arduino_1-8-5\hardware\arduino\avr\cores\arduino/Stream.h:63
public:
virtual int available() = 0;
virtual int read() = 0;
virtual int peek() = 0;
Stream() {_timeout=1000;}
650: 88 ee ldi r24, 0xE8 ; 232
652: 93 e0 ldi r25, 0x03 ; 3
654: a0 e0 ldi r26, 0x00 ; 0
656: b0 e0 ldi r27, 0x00 ; 0
658: 84 83 std Z+4, r24 ; 0x04
65a: 95 83 std Z+5, r25 ; 0x05
65c: a6 83 std Z+6, r26 ; 0x06
65e: b7 83 std Z+7, r27 ; 0x07
_ZN14HardwareSerialC2EPVhS1_S1_S1_S1_S1_():
_Sauv_Arduino_1-8-5\hardware\arduino\avr\cores\arduino/HardwareSerial_private.h:95
volatile uint8_t *ucsrc, volatile uint8_t *udr) :
_ubrrh(ubrrh), _ubrrl(ubrrl),
_ucsra(ucsra), _ucsrb(ucsrb), _ucsrc(ucsrc),
_udr(udr),
_rx_buffer_head(0), _rx_buffer_tail(0),
_tx_buffer_head(0), _tx_buffer_tail(0)
660: 87 e0 ldi r24, 0x07 ; 7
662: 91 e0 ldi r25, 0x01 ; 1
664: 91 83 std Z+1, r25 ; 0x01
666: 80 83 st Z, r24
668: 85 ec ldi r24, 0xC5 ; 197
66a: 90 e0 ldi r25, 0x00 ; 0
66c: 95 87 std Z+13, r25 ; 0x0d
66e: 84 87 std Z+12, r24 ; 0x0c
670: 84 ec ldi r24, 0xC4 ; 196
672: 90 e0 ldi r25, 0x00 ; 0
674: 97 87 std Z+15, r25 ; 0x0f
676: 86 87 std Z+14, r24 ; 0x0e
678: 80 ec ldi r24, 0xC0 ; 192
67a: 90 e0 ldi r25, 0x00 ; 0
67c: 91 8b std Z+17, r25 ; 0x11
67e: 80 8b std Z+16, r24 ; 0x10
680: 81 ec ldi r24, 0xC1 ; 193
682: 90 e0 ldi r25, 0x00 ; 0
684: 93 8b std Z+19, r25 ; 0x13
686: 82 8b std Z+18, r24 ; 0x12
688: 82 ec ldi r24, 0xC2 ; 194
68a: 90 e0 ldi r25, 0x00 ; 0
68c: 95 8b std Z+21, r25 ; 0x15
68e: 84 8b std Z+20, r24 ; 0x14
690: 86 ec ldi r24, 0xC6 ; 198
692: 90 e0 ldi r25, 0x00 ; 0
694: 97 8b std Z+23, r25 ; 0x17
696: 86 8b std Z+22, r24 ; 0x16
698: 11 8e std Z+25, r1 ; 0x19
69a: 12 8e std Z+26, r1 ; 0x1a
69c: 13 8e std Z+27, r1 ; 0x1b
69e: 14 8e std Z+28, r1 ; 0x1c
6a0: 08 95 ret
000006f2 <abort>:
abort():
6f2: 81 e0 ldi r24, 0x01 ; 1
6f4: 90 e0 ldi r25, 0x00 ; 0
6f6: f8 94 cli
6f8: 0c 94 7e 03 jmp 0x6fc ; 0x6fc <_exit>
000006fc <_exit>:
exit():
6fc: f8 94 cli
000006fe <__stop_program>:
__stop_program():
6fe: ff cf rjmp .-2 ; 0x6fe <__stop_program> |
Partager