I’m a newbie trying to program in assembler with STUDIO 7.0. I have not been able to find m328pdef.inc. I’m specifically looking for stack pointer and clock names. The assembler does not recognize SPH, SPL, and CLKPR. And how to load values into these registers(?)
The m328pdef.inc file for Atmel Studio 7 can be found in C:\Program Files (x86)\Atmel\Studio\7.0\packs\atmel\ATmega_DFP\1.0.90\avrasm\inc. If you post your code here, I would be happy to take a look at it to see what might be causing the issue. Alternatively, you might consider posting about your issue on AVR specific forums such as AVR Freaks so that your question can reach a larger community.
AmandaS Thank you for the tip. I’m still studying the files produced by my first assembly without errors. By the time I’m ready to download the hex file I may have other questions.