St x, r16 content of r16 reg goes to a location pointed by x
Ldi r26, 0x20 register pair now works as X-pointer register Lds 0x0120, r16 an arbitrary RAM location (see Fig-1 below) Check if you can follow them:Ītmel-0856-AVR-Instruction-Set-Manual.pdf (2.4 MB) I provide few samples of C codes and the corresponding ASM Codes (hand assembled using the attached Instruction Set Manual ).