ldi temp, (1<<ASRE)|(1<<SPMEN) sts SPMCR, temp spm boot_wait2: lds temp, SPMCR // виснет тут те SPMEN не сбрасывает sbrc temp, SPMEN rjmp boot_wait2