Re: [stella] Divide by 3

Subject: Re: [stella] Divide by 3
From: "Alex Herbert" <herbs64@xxxxxxxxxxx>
Date: Sun, 19 Dec 2004 02:56:48 -0000
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.

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 --~--



Current Thread