piclist 1999\10\16\081038a >
Thread: BTFSS help
www.piclist.com/techref/index.htm?key=btfss+help
flavicon
face BY : Quentin email (remove spam text)



I don't understand your question. What is it you want to test in the
register? Do you want to test the position of the bit and then do
instructions based on its position in the register?
Or do you want to do instuctions based on the value in the register?

You ask if there are other instructions based on a bit. Depends what you
want to do.
Other ways of testing for bits set is the MOVLW K (constant) and SUBWF
0x027,W routine
Then you test Status for Z, C or DC (BTFSS STATUS,Z) as one example.
There are many more.

Better if you explain to us what you need to do. Maybe with some short
code examples.

Quentin

Somasundaram wrote:
{Quote hidden}

<38086AF5.EDEB6461@icon.co.za> 7bit

See also: www.piclist.com/techref/index.htm?key=btfss+help
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) BTFSS help

month overview.

new search...