Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/07/03 10:51
Read: times


 
#41005 - port monitoring previous and new value
i know , i know , every one will say that waqar is so dump that he cannot understand any thing and some will say that he does not read what we post for him ...but do i have seen the reply on my last post about monitoring in which :

"Read the port and save the value exactly as you are doing. Then compare it to the previous read. If they are different then the port has changed. Save the new result as the previous result."

ok... i read the value starting lines will be

ORG 00h

NO NEW DATA:
MOV A,P1
CJNE A,#00D,NEW DATA

if new value comes it will move on...but i am only comparing zero not the previous value ...how i can do comparsion between new and previous at the start of program...

Also in my Binary to BCD code if i don;t use

ANL command to check nibble ..will this effect or not..








List of 7 messages in thread
TopicAuthorDate
port monitoring previous and new value            01/01/70 00:00      
   RE: port monitoring previous and new value            01/01/70 00:00      
      RE: port monitoring previous and new val            01/01/70 00:00      
         RE: port monitoring previous and new val            01/01/70 00:00      
            thanks            01/01/70 00:00      
               RE: thanks            01/01/70 00:00      
               RE: thanks            01/01/70 00:00      

Back to Subject List