Jump to content

A little optimization for Z80 Assembler: Difference between revisions

From CPCWiki - THE Amstrad CPC encyclopedia!
SRS (talk | contribs)
Created page with "So, you want to optimize your assembler code a little bit ? Here are some "generic" ways to speed up / shorten your Z80 progs a little bit: * CP 0 -> OR A * LD A,0 -> XOR A..."
 
SRS (talk | contribs)
mNo edit summary
Line 17: Line 17:


http://www.ticalc.org/archives/files/fileinfo/285/28502.html
http://www.ticalc.org/archives/files/fileinfo/285/28502.html
[[Category:Assembler]]

Revision as of 20:18, 9 December 2020

So, you want to optimize your assembler code a little bit ?

Here are some "generic" ways to speed up / shorten your Z80 progs a little bit:

  • CP 0 -> OR A
  • LD A,0 -> XOR A

See also:

http://shiar.nl/calc/z80/optimize

http://wikiti.brandonw.net/index.php?title=Z80_Optimization

http://z80-heaven.wikidot.com/optimization

Faster Loops

http://www.ticalc.org/archives/files/fileinfo/285/28502.html