NerdKits - electronics education for a digital generation

You are not logged in. [log in]

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
Adrian's Avatar

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
Ralphxyz's Avatar

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)

hevans's Avatar

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

Post a Reply

Please log in to post a reply.

Did you know that any circuit of voltage sources and resistors can be simplified to a "Thevenin" equivalent circuit? Learn more...