Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] ATMega Disassembler?

2005-08-12 by David Kelly

On Fri, Aug 12, 2005 at 04:31:57PM -0300, Mark Jordan wrote:
> 
> 	Is there some free disassembler for the ATMEGA family?
> 
> 	Thanks.
> 	Mark

This thread was discussing selection of C compilers. Why did you reply
to that thread and edit the subject? Why didn't you open a new message?

So I won't tell you that "avr-objdump -DS" (comes in WinAVR and other
sources) disassembles and leaves original source code as comments. I use
this suffix rule in my Makefile and always generate a .list file as a
matter of course when building my project:

.elf.list:
	avr-objdump -DS $< > $@

The options above are a bit nasty as they attempt to disassemble the
data sections as well.

-- 
David Kelly N4HHE, dkelly@HiWAAY.net
========================================================================
Whom computers would destroy, they must first drive mad.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.