attint26

Oct 22, 2005 1 Replies

Jak jest z inicjalizacja stosu w attiny26. Pracuje w avr studio i piszę kod normalnie jak atmega ale widze ze w pliku "tn26def.inc" nie ma rejestrow sph i spl. Jak zatem zainicjować stos?


Bo jest definicja rejestru SP. Ten proc ma tylko 128 bajtow SRAM, wiec nie potrzebny mu 16-bitowy rejstr stosu.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required