Jump to content

Category:Z80 Assembly: Difference between revisions

m
changed tags
m (changed tags to display code correctly)
m (changed tags)
Line 58:
===Everyone's favorite===
This is where you start optimizing Z80 code:
<syntaxhighlight lang="Z80">
<lang z80>XOR A ; set A to zero</lang>
; This saves 1 byte and 3 cycles, but also changes the flags.
</syntaxhighlight>
 
===Fast Checking for Odd or Even===
Cookies help us deliver our services. By using our services, you agree to our use of cookies.