avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-chat] How to stop avr-gcc from replacing my code with ellipsis


From: Weddington, Eric
Subject: Re: [avr-chat] How to stop avr-gcc from replacing my code with ellipsis
Date: Mon, 21 May 2012 19:23:20 +0000


> -----Original Message-----
> From: address@hidden [mailto:avr-chat-
> address@hidden On Behalf Of David Kelly
> Sent: Monday, May 21, 2012 1:20 PM
> To: address@hidden
> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]