Ask your own question, for FREE!
Mathematics 15 Online
OpenStudy (mimi_x3):

avr pls

OpenStudy (mimi_x3):

I have two 16 bit number, I need to load it into register pairs r17:r16 , r19:r18 then add them together

OpenStudy (mimi_x3):

no idea how to do this

OpenStudy (anonymous):

wrong section, close this

OpenStudy (mimi_x3):

no pls

OpenStudy (mimi_x3):

@dan815 give me codee

OpenStudy (mimi_x3):

each pair of registers are 8 bit in AVR

OpenStudy (mimi_x3):

so i need to store the low in one register and the high in the other register

OpenStudy (rational):

there will be commands for 16 bit data loading eventhough the avr is 8 bit

OpenStudy (rational):

do you have instruction manual wid you ?

OpenStudy (dan815):

watch this guy hes the best https://www.youtube.com/watch?v=PPn-gy-GKfE

OpenStudy (dan815):

and look at your own data sheet

OpenStudy (dan815):

for what your registers addresses are

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!