Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
A simple way to do it is to clear the value in memory and then do btfsc PORTA,x then bsf Variable,n and repeat for other 7 bits. The other way is to shift left/right then AND with a mask and finally OR them together.
Mike.