My current class has assignments in AVR Assembly and I’ve gotten source code printing of Atmel AVR Assembly working in LaTeX with color highlighting.
Here’s how it works:
The listings module in LaTeX allows for printing of source code for a variety of different languages, but AVR Assembly is not one of them. I needed to go ahead and define the language highlighting myself. Assembly is fairly simple, so I just needed to define keywords for all the instructions and registers.
I found a set of keywords defined by Nils Michelsen online, and edited it so that I could highlight instructions, registers, and directives separately.