[Top][All Lists]

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

Re: [avr-gcc-list] Instruction count

From: E. Weddington
Subject: Re: [avr-gcc-list] Instruction count
Date: Wed, 15 Jan 2003 11:15:49 -0700

On 15 Jan 2003 at 8:35, Anubhav wrote:

> Hi Folks,
>        I am compiling a file using avr-gcc for atmega
> 128. I wanted to get the number of instructions in the
> program. 
> I can get the disassembeled file using objdump -d for
> a gcc compiled ELF for x86 platform. but when i use
> this with avr compiled ELF, it exits saying unknown
> architecture.
> Is there a similar program
> or can I compile the source with some options to spit
> out the file containing instructions in a readable
> format ?
> Thanks,
> A.

Use avr-objdump, which is objdump built for the avr target.
avr-gcc-list at http://avr1.org

reply via email to

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