init: ldi R16,low(RAMEND) out SPL,R16 ldi R17,high(RAMEND) out SPH,R17 jmp main ; Main: ; ===== main: ldi TEMP,(1<