Calculator Community > ASM

ASM Optimized routines

<< < (2/22) > >>

Galandros:

--- Quote from: mapar007 on April 25, 2010, 03:58:56 am ---Very nice! I'll add these to my utils.z80 file that is included in all my app builds.

Anyone wanting to compile a stdlib.c and revive the tisdcc project? j/k

--- End quote ---
Actually I am working on something like that. I am hand writing C functions in z80 assembly just for fun. :P I will share them when I finish.
After seeing Axe Parser, it seems that is possible doing a good C compiler for z80. And we have documentation on how to optimize z80 assembly to do a optimizer, check the WikiTI topic: http://wikiti.brandonw.net/index.php?title=Z80_Optimization.

DJ Omnimaga:

--- Quote from: mapar007 on April 25, 2010, 03:58:56 am ---Very nice! I'll add these to my utils.z80 file that is included in all my app builds.

Anyone wanting to compile a stdlib.c and revive the tisdcc project? j/k

--- End quote ---
I think I remember this, it was Halifax from the old Omnimaga forums who worked on it, right? There was a thread about it somewhere

Quigibo:
Quigibo's Challenge!

Can any of the following be done in 6 or fewer bytes?  The input and output must be HL.


* Multiply by 128?
* Signed division by any nontrivial constant, other than 2, including negative numbers?
* Modulus with any constant that is not a power of 2?
I'm rewriting my math engine almost from scratch so I decided I would just optimize everything I could possibly conceive of at the same time.  These are the ones I'm having trouble finding.

calc84maniac:
Seems pretty impossible to me.

Quigibo:
Okay, that's good.  I spent hours trying to optimize some of these using all the tricks I know.  That reassures me it was a wild goose chase.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version