I have been programming the Atmel micros with assembly language for many years. No problem with assembly. I understand the chips.
And I have been programming PCs for more years using VC++. No probelm with that either.
But the memories in the Atmell chips are different from those in a PC. You can't write to program memory because it is FLASH. The REGISTER FILE is READ/WRITE memory but not executable,
My question is how do you read and write the REGISTER FILE bytes?
Can you mix assembly code with C code?
I have not been able to find any sample code. Is there any?