I am currently working on a problem that wants me to build a subroutine that will reverse the bits in R16.
00000011 => 11000000
or
10101000 => 00010101
For the class we are using the AVR subset and the subroutine needs to work in norfair.
This is what I have so far, any help would be appreciated!
ldi r16,3 ;00000011