piclist 2008\07\11\095017a >
Thread: Will 'btfss RXREG, n' make 16F628 USART RGREG as read?
face picon face BY : email (remove spam text)(Olin Lathrop)

Alan B. Pearce wrote:
> Umm, yes, that is why a bit operation on a Port register can have
> weird side effects on other bits. The whole byte is read, the bit
> checked, and then the whole byte is written back.

Really?  I didn't think there was a write back for BTFSx.  I also don't
remember hearing or of bumping into a BTFSx problem on port bits, which I
thought was because there is no write back.

Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products
(978) 742-9014.  Gold level PIC consultants since 2000.
<002501c8e35d$5950f280$0300a8c0@main> 7bit

See also: www.piclist.com/techref/microchip/ios.htm?key=usart
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Will 'btfss RXREG, n' make 16F628 USART RGREG as read?

month overview.

new search...