div by 10 on Z80
Chuck Guzis
cclist at sydex.com
Wed Jan 23 19:54:23 CST 2008
On 23 Jan 2008 at 19:16, Brent wrote:
> Of course, from a clarity-is-all-important modern software design
> perspective, we should all be shot.
Naw, not even. "Obscure" is miles of spaghetti code twiddling bits
seemingly at random in a word, then finally using a "count the 1
bits" instruction on said word to index into a jump table...
> If I were an economist, I would predict that at this rate, in another few
> weeks the routine will be down to 1 byte.
Good thing for us that you're not an economist--you belong in
management.
Cheers,
Chuck
More information about the cctalk
mailing list