piclist 2001\01\04\180336a >
Thread: Not use the address but what is inside that address
face picon face BY : Olin Lathrop email (remove spam text)

>     Well I4ve found FSR and INDF, but that can solve half my problem...
> this I can select porta, portb or portc easily, but what about bits, how
> I choose between them?

You need to spend some time learning the instruction set and how to use it.
There are lots of ways of "selecting" a bit.  One way is to rotate the byte
until the desired bit ends up in C.

Olin Lathrop, embedded systems consultant in Devens Massachusetts
(978) 772-3129, @spam@olinspamspamembedinc.com, http://www.embedinc.com

http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.

<000701c07697$8345e8b0$260bf6cd@pc> 7bit

See also: www.piclist.com/techref/microchip/devices.htm?key=pic
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) Not use the address but what is inside that address

month overview.

new search...