Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Problem with BTFSC instruction Pic16f877A in PICC

Status
Not open for further replies.

anhnha

Full Member level 6
Joined
Mar 8, 2012
Messages
322
Helped
4
Reputation
8
Reaction score
4
Trophy points
1,298
Activity points
3,684
Hi everyone,
I have a problem with BTFSC in PICC with pic16f877A.I used the following code but it seem that BTFSC do not work.Both bits of portc always is set.
Code:
BTFSC 0x4F,1
bsf portc, 5
bsf portc, 6
Could you help me this?
Thanks in advance.
 

is it possible that bit 5 is already set before? can you post all the code?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top