imhereithink
New Member
Just checking to see if it is ok to do this, i have stored data into STORE1 and want to check it more than once to see what character it has stored in it. So is this ok the way i am testing the same location for different data?
MOVF STORE1, W
SUBLW D'13'
BTFSC STATUS, Z
RETURN
MOVF STORE1, W
SUBLW D'10'
BTFSC STATUS, Z
RETURN
I was wondering that by calling the same STORE1 again after the sublw, the data held will have changed from the previous sublw? or does it not store the new value after the first sublw?
Hope this makes sense to you guys
Thanks
MOVF STORE1, W
SUBLW D'13'
BTFSC STATUS, Z
RETURN
MOVF STORE1, W
SUBLW D'10'
BTFSC STATUS, Z
RETURN
I was wondering that by calling the same STORE1 again after the sublw, the data held will have changed from the previous sublw? or does it not store the new value after the first sublw?
Hope this makes sense to you guys
Thanks
Last edited: