Don Kinzer wrote: > --- In AVR-Chat@yahoogroups.com, "subscriptions@..." > <subscriptions@...> wrote: >> I always do the interrupt prologue and epilogue in ASM. >> I don't trust interrupt keywords. :) > I have adopted the strategy of "trust but verify". It is a simple > matter to take a quick look at the assembly language code generated > for an ISR implemented in C and verify that it's doing what you > expected it to do. > > The .lss file should contain assembly language code with > interspersed C code. (Note, however, that optimization sometimes > results in the C code not being near the actual assembly language > code.) If your makefile doesn't create a .lss file, you can do it > manually or modify the makefile to do so. How do you get it to do this? When I look at my .lss files I see a line with the function header, then assembly, then the next function header line. The C is not interspersed. How do I get this enabled in the compiler? thanks, DLC > avr-objdump -S myproj.elf > myproj.lss > > Don Kinzer > ZBasic Microcontrollers > http://www.zbasic.net > > > > ------------------------------------ > > Yahoo! Groups Links > > > -- ------------------------------------------------- Dennis Clark TTT Enterprises www.techtoystoday.com -------------------------------------------------
Message
Re: [AVR-Chat] Re: Arrays and pointers in GCC
2009-01-12 by dlc
Attachments
- No local attachments were found for this message.