Continue to Site

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.

  • 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.

Manipulate specific bits of a port

Status
Not open for further replies.

SneaKSz

Member
Hello ,

I want to force specific bits of a port , now by doing bsf / bcf but in 1 time .
eg :
movlw b'101x001x'
movwf PORTC

I don't want to change the state of the PORTC.0 and PORTC.4!

Is there a way to do this without bsf and bcf?

Thanks
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top