NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.
Everything Else » I'd like to learn a little of assembly
July 01, 2010 by Adrian |
The specialized C library given to us to learn how to program the microprocessor has been wonderful, but I've stayed very curios about lower level languages like assembly. Please can you give links or tips to how to start with assembly language for the atmega168? thanks |
---|---|
July 04, 2010 by Ralphxyz |
I do not know assembly language. Atmel has a introductory package on their web site using their AVR-Studio. I actually did a couple of their samples and it actually worked! Ralph |
July 06, 2010 by hevans (NerdKits Staff) |
Hi Adrian, My suggestion if you are curious about writing assembly is to start with inline assembly. Which is assembly written inline with your C code. This technique can be very useful when you want to hand write the assembly for certain parts of your code, but can also be great for easing into writing assembly. Avr-libc has a great intro to the process in their Inline Assembler Cookbook. Hope that gets you started. Let us know if you have any questions. Humberto |
Please log in to post a reply.
Did you know that interrupts can cause problems if you're not careful about timing and memory access? Learn more...
|