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.
amady said:Hi all my friend..... i have one question, how i want to do IF-THEN statement using assembly language?
To nigel and wbill
dak246 said:Thats exactly how I do it. Not sure if its optimal, but it seems to be the most practical.
amady said:To nigel and wbill
so if i want to do a range like:
20 (00100000) > Temperature> 15 (00010101)
then to compare (checking from ADC (PIC16F819))... and do a action.
Example:
if temp 20 (00100000) then fan on
if temp 15 (00010101) then fan off
:roll:
GRC said:Wow, Thats a great link.
Thanks for posting it.
williB said:IF (bit 7 in regw is True) THEN (do something) ELSE (do something else)
its making a decision! based on conditions..