Checking routine for PIC for 8bit data using assembly BTFSS and BTFSC command

Status
Not open for further replies.

Glatius

New Member
MOVF STORE1,STOREV
MOVF STOREV,W
XORLW 0X21 if same with w register Z=1
BTFSC STATUS,Z
CALL DIO ;DIO !
is this routine will trigger if register storev contain 0x21 to subroutine DIO,
Can anyone can tell me how to test an 8bit wide data USING PIC when btfss and btfsc are available
 
If you look on the PICList there's on entire section on 8bit and 16bit comparisons and checks.
 
We talked about your code already, the MOVF function creates a copy and does not delete the original. I see you ignored everything I said...
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…