I do that all the time: high speed encoders, or special low-latency interrupt handlers in assembly (pure) using GAS (Gnu Assembler). Read the WinAvr GCC FAQ and look at the GAS manual. The only restrictions, at the moment, is that if you want to do symbolic debugging with the simulator you need to use .coff format and to get that to work requires some magic in your assembly source. Hopefully the next release will have dwarf-2 debugging enabled in the assembler and the need for magic will go away (hope, hope...) ----------- Larry Barello www.barello.net | -----Original Message----- | From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf | Of dlc@frii.com | Sent: Tuesday, December 20, 2005 8:25 AM | To: AVR-Chat@yahoogroups.com | Subject: [AVR-Chat] GCC-Avg and pure assembly | | Hi all, | | I've written code using the gcc-avr compiler in C for various projects, | but I have some code written for Tiny13 and Tiny11 chips that are | straight assembly. Has anyone written pure assembly using gcc-avr? Can | we use just the assembler | to write code simply in the gcc-avr framework that can be downloaded to an | STK500 programmer board? I've not checked to see if AVR-dude can handle | the "no ram" chips as well as the bigger chips... | | thanks, | DLC | -- | ------------------------------------------------- | Dennis Clark | TTT Enterprises | ------------------------------------------------- | | | | | | | Yahoo! Groups Links | | | | |
Message
RE: [AVR-Chat] GCC-Avg and pure assembly
2005-12-21 by Larry Barello
Attachments
- No local attachments were found for this message.