Divide WREG by 10 on a PIC 18:
addlw .1 btfsc STATUS,C addlw .255 mullw .51 rrcf PRODH,W
file: /Techref/microchip/math/div/8byconstant10PIC18.htm, 0KB, , updated: 2011/12/20 08:40, local time: 2024/12/27 03:56,
18.224.44.233:LOG IN
|
©2024 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? <A HREF="http://linistepper.com/techref/microchip/math/div/8byconstant10PIC18.htm"> Divide 8 bits by the constant value 10 on a PIC18</A> |
Did you find what you needed? |