piclist 2001\01\10\161556a >
Thread: yet another algorithm challange
www.piclist.com/techref/microchip/devices.htm?key=pic
picon face BY : Drew Vassallo email (remove spam text)



Of course, this could be simplified slightly:

    btfss Base_Number, 7
instead of:
>    rlf Base_Number
>    btfss STATUS, C

>    goto Check_6
>    movlw 0xFC
>    addwf Converted_Number + 5
>Check_6

    btfss Base_Number, 6
Instead of:
>    rlf Base_Number
>    btfss STATUS, C

etc...

I was going to put it into a loop, hence the "rlf", but it never worked out.

--Andrew

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email listservTakeThisOuTspamspamBeGonemitvma.mit.edu with SET PICList DIGEST in the body


<F232OS6yDC0AHmKqyPm00012970@hotmail.com>

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) yet another algorithm challange

month overview.

new search...