Changes
Z80
,/* Optimization */
* Unconditional JR is one byte smaller and is as fast as unconditional JP on CPC.
* For a smaller conditional RST #38, use JR cc,-1. This will cause a conditional jump to the displacement byte (#FF) which is the RST #38 opcode.
* To quickly invert all bits of A, CPL is one byte shorter and one M-cycle faster than XOR #FF.
* To set A to zero, XOR A is one byte smaller and one M-cycle faster than LD A,0.
* To check if A is zero, AND A or OR A are one byte smaller and one M-cycle faster than CP 0.