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.
movfw Var ;move into W
btfss Var,7 ;test if negative
goto notNegative ;no, so all done
comf Var,w ;complement and move to W
addlw 1 ;add 1 to complete negation
notNegative
btfss Var,7 ;test if negative
goto notNegative ;no, so all done
comf Var,f ;complement and keep in file
incf Var,f ;add 1 to get complete negation
notNegative movfw Var ;mov into W