> -----Original Message----- > From: [email protected] [mailto:avr-chat- > [email protected]] On Behalf Of David Kelly > Sent: Monday, May 21, 2012 1:20 PM > To: [email protected] > Subject: Re: [avr-chat] How to stop avr-gcc from replacing my code with > ellipsis > > > On May 21, 2012, at 1:43 PM, Weddington, Eric wrote: > > > Hi Omar, > > > > How are you writing and compiling your code? > > He said, > >> However when the code is compiled I get the following in the listing > >> file (generated with avr-objdump):
Sure, but just because somebody says it's compiled doesn't mean that it is. It could have been "assembled" using the assembler directly. > > The NOPs are there, the addresses jump properly. > > Reading the man page for avr-objdump I suspect this is the switch he wants: > > -z > --disassemble-zeroes > Normally the disassembly output will skip blocks of zeroes. This > option directs the disassembler to disassemble those blocks, just > like any other data. > Oh, you're very probably correct! :-) Eric _______________________________________________ AVR-chat mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/avr-chat
