AVR Studio with assembler example?
Posted: Fri Mar 14, 2008 5:14 pm
I am looking at doing a USB VFD interface, but for performance reasons I want to use assembly code for the VFD interface.
Basically, I just want to send bytes to the AVR via USB, where an assembler routine will decode them. Data would enter a FIFO as it is transmitted, ready for processing with the assembler routines.
I use AVR Studio for development. I can't see any examples of this sort of thing in the reference implementations. In particular, interfacing C with assembler seems to be a bit tricky - what registers can be used, how to reference data, allocating sections of RAM to use etc.
Are there any suitable examples? I couldn't find any with Google.
Basically, I just want to send bytes to the AVR via USB, where an assembler routine will decode them. Data would enter a FIFO as it is transmitted, ready for processing with the assembler routines.
I use AVR Studio for development. I can't see any examples of this sort of thing in the reference implementations. In particular, interfacing C with assembler seems to be a bit tricky - what registers can be used, how to reference data, allocating sections of RAM to use etc.
Are there any suitable examples? I couldn't find any with Google.