EECS 203 Mailing List
Zero Bit Check


Zero Bit Check

From: Jared Jenkins <jjenkins_at_avoiding.spam>
Date: Mon May 26 2008 - 16:33:36 CDT

I am having an issue with my zero bit check. When comparing my memory and
the last three digits of input, I can't seem to get a good result for the
zero bit Z. When the two are equal, Z should equal 1 but thats not
happening. My code is below. Thanks.

    movf button_check
    subwf button_save, 0

    btfsc STATUS, Z
    goto LED_cycle

    goto main_loop

-- 
Jared Michael Jenkins
Northwestern University
McCormick School of Engineering and Applied Science
Web Development and IT Support Services
Mobile: 949.290.3737
Received on Mon May 26 16:33:36 2008

This archive was generated by hypermail 2.1.8 : Sat Aug 23 2008 - 21:08:11 CDT