Re: [stella] Divide by 3

Subject: Re: [stella] Divide by 3
From: David Galloway <davidgalloway@xxxxxxxxxxxxxx>
Date: Sat, 18 Dec 2004 19:08:56 -0800
Alex Herbert wrote:

Hi Paul,

From memory:

; 8-bit unsigned divide


   sta    temp
   lsr
   lsr
   clc
   adc    temp
   ror
   lsr
   clc
   adc    temp
   ror
   lsr
   clc
   adc    temp
   ror
   lsr
   clc
   adc    temp
   ror
   lsr

I think that's right.



Hey that's pretty good. ;-)

- David



Alex


----- Original Message ----- From: "Paul Slocum" <paul@xxxxxxxxxxxx>
To: <stella@xxxxxxxxxxxxxxxxxx>
Sent: Sunday, December 19, 2004 1:51 AM
Subject: [stella] Divide by 3





Is there an easy way to do it without a loop or table?

-paul


Archives (includes files) at http://www.biglist.com/lists/stella/archives/ Unsub & more at http://stella.biglist.com --~---------------------------------------------------------------- You are subscribed as: herbs64@xxxxxxxxxxx To unsubscribe, send email to: stella-unsub-189826@xxxxxxxxxxxxxxxxxx Or go to: http://stella.biglist.com/unsub/stella/herbs64@xxxxxxxxxxx --~--





Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://stella.biglist.com
--~----------------------------------------------------------------
You are subscribed as: davidgalloway@xxxxxxxxxxxxxx
To unsubscribe, send email to:
 stella-unsub-130717@xxxxxxxxxxxxxxxxxx
Or go to:
 http://stella.biglist.com/unsub/stella/davidgalloway@xxxxxxxxxxxxxx
--~--






Current Thread