please dont rip this site

SX Microcontroller Square Math Method

Square 8bits

;by Dmitry Kiryashov


I still don't see solution shorter than 35 clocks. I've couple of them. 


1) 
        movfw x ;35 words/clocks 
        clrf x 
        rrf y,F 
; 
        skpnc ;this part is repeated 8 times 
        addwf x,F 
        rrf x,F 
        rrf y,F 
; 


2) 
        movfw x ;35 words/clocks 
        rrf y,F 
        skpc 
        subwf x,F 
        rrf x,F ;Cy=1 always before 
        rrf y,F 
; 
        skpnc ;this part is repeated 7 times 
        addwf x,F 
        rrf x,F 
        rrf y,F 
; 
        decf x,f ;substract first Cy=1 


file: /Techref/scenix/lib/math/sq/8b_sx.htm, 0KB, , updated: 2004/6/10 13:40, local time: 2024/11/22 04:59,
TOP NEW HELP FIND: 
3.145.8.2: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?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://ecomorder.com/techref/scenix/lib/math/sq/8b_sx.htm"> SX Microcontroller Square Math Method </A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to ecomorder.com!

 

Welcome to ecomorder.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .