High, Low w assemblerze avr-gcc

Oct 23, 2008 1 Replies

Witam! Moze ktos podpowie czym zastapic makra High() i Low() jesli kompiluje modul w assemblerze w avr-gcc? Chodzi o zaladowanie adresu zmiennej do rejestrow: LDI R16,High(zmienna) LDI R17,Low(zmienna)



Pozdrawiam, T.M.F.



Odpowiem sobie sam - hi8 i lo8.

Join the Discussion

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

Didn't find your answer?

Ask the community — no account required