please dont rip this site

microchip math bit new201003

 

ON 20100301@8:01:53 AM at page:
On a web page you were interested in at:
http://www.piclist.com/techref/microchip/math/bit/shift4.htm#40238.3346412037
Alex  Davies[AD-AEE-GA8] Says

You can save 1 word per byte on the above by using XOR swaps with W as a carry register.  ie, to shift to the left by a nibble:<BR>
<CODE><BR>
  SWAPF TEMP0, W<BR>
  MOVWF TEMP0<BR>
  ANDLW 0x0F<BR>
  XORWF TEMP0, F<BR>
<BR>
  SWAPF TEMP1, F<BR>
  XORWF TEMP1, F<BR>
  XORWF TEMP1, W<BR>
  ANDWF 0x0F<BR>
  XORWF TEMP1, F<BR>
<BR>
  SWAPF TEMP2, F<BR>
  XORWF TEMP2, F<BR>
  XORWF TEMP2, W<BR>
  ANDLW 0x0F<BR>
  XORWF TEMP2, F<BR>
<BR>
  ...<BR>
<BR></CODE>
(untested)



ON 20100301@8:04:03 AM at page:
On a web page you were interested in at:
http://www.piclist.com/techref/microchip/math/bit/shift4.htm#40238.3361458333
Alex  Davies[AD-AEE-GA8] Says

Sorry minor typo:<BR>
<BR>
<CODE>
XORWF TEMP1, W<BR>
AND<B><U>LW</U></B> 0x0F<BR>
XORWF TEMP1, F</CODE>



ON 20100301@4:21:19 PM at page:
On a web page you were interested in at:
http://www.piclist.com/techref/microchip/math/bit/shift4.htm#
James Newton[JMN-EFP-786] edited the page. Difference:
http://www.piclist.com/techref/diff.asp?url=H:\techref\microchip\math\bit\shift4.htm&version=3



ON 20100301@4:52:10 PM at page:
On a web page you were interested in at:
http://www.piclist.com/techref/microchip/math/bit/shift4.htm#
James Newton[JMN-EFP-786] edited the page. Difference:
http://www.piclist.com/techref/diff.asp?url=H:\techref\microchip\math\bit\shift4.htm&version=4



file: /Techref/microchip/math/bit/new201003.txt, 1KB, , updated: 2010/3/1 16:52, local time: 2012/2/10 13:02,
TOP NEW HELP FIND: 
38.107.179.230:LOG IN

 ©2012 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE! / 

<A HREF="http://www.piclist.com/tecHREF/microchip/math/bit/new201003.txt"> microchip math bit new201003</A>

Did you find what you needed?

 
Quick, and RELIABLE! RCL-1 RS232 Level Converter in a DB9 backshell only $15.00
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232!
 
Here is a great gift for computer geeks or widows:
The Backwoods Guide to Computer Lingo

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .