piclist 2001\01\10\142440a >
Thread: yet another algorithm challange
picon face BY : Bob Ammerman email (remove spam text)

Simple idea for 6x mode:

   movlw  0                ; start output byte 6
   btfsc    inval,0
   iorlw    0x3F

   btfsc    inval,1
   iorlw    0xC0
   movwf  out6

   movlw  0                ; start output byte 5
   btfsc    inval,1
   iorlw    0x0F

   btfsc    inval,2
   iorlw    0xF0
   movwf out6


Rather long, but quite fast and quite simple.

Bob Ammerman
RAm Systems
(contract development of high performance, high function, low-level

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

<004d01c07b3a$a61b4ae0$dce8c540@sciencekit.com> 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) yet another algorithm challange

month overview.

new search...