I have a situation where I need to skip over part of a program if a MCLR reset has occurred. The device is 16F1823. MCLRE is enabled on. The manual says a MCLR reset can be differentiated from a power on reset by observing the bits in the PCON register. The code I tried works some of the time, but is inconsistent and ultra sensitive to noise and grounding conditions. The code section:

Code:
        if PCON.3 = 0 then      'when mclr reset has occurred
        PCON.3 = 1              'set mclr flag
        goto current            'jump over data display
        endif
Question: Is the PCON register accessible by PBP? Should asm be used for this task instead?