• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Problem with MPLAB

Status
Not open for further replies.

ljcox

Well-Known Member
I've successfully written many PIC programmes but this my first time with the 16F684.

I have MPLAB 8.92.

I cannot clear INTCON, 0. This instruction does not anything.
bcf INTCON, 0 ;RBIF

If I use this
clrf INTCON the INTCON value changes from 0x09 to 0x01. I have tried various tricks but to no avail.

I even uninstalled MPLAB & then re-installed it.

This instruction does clear INTCON, 1

bcf INTCON, 1 ;INTF

I feel that there is a software problem with MPLAB as I can't see any reason why it does not clear INTCON, 0

Any assistance will be appreciated.
 
Status
Not open for further replies.

Latest threads

EE World Online Articles

Loading
Top