Changes
Z80
,/* Opcodes */
|ADD A, (IY + N)||19||3||FD 86 XX
|-
|ADD HL, BC||11||1||rowspan=4|--?- 0 *||09||rowspan=4|Add (16-bit)||rowspan=4|HL = HL + ss
|-
|ADD HL, DE||11||1||||19
|-
|ADD HL, HL||11||1||||29
|-
|ADD HL, SP||11||1||||39
|- style="background:#efefef;"
|ADD IX, BC||15||2||rowspan=4|--?- 0 *||DD 09||rowspan=4|Add (IX register)||rowspan=4|IX = IX + pp
|- style="background:#efefef;"
|ADD IX, DE||15||2|||| DD 19
|- style="background:#efefef;"
|ADD IX, IX||15||2|||| DD 29
|- style="background:#efefef;"
|ADD IX, SP||15||2|||| DD 39
|-
|ADD IY, BC||15||2||rowspan=4|--?- 0 *||FD 09||rowspan=4|Add (IY register)||rowspan=4|IY = IY + rr
|-
|ADD IY, ||15||2||||FD 19
|-
|ADD IY, IY||15||2||||FD 29
|-
|ADD IY, SP||15||2||||FD 39
|- style="background:#efefef;"
|AND r||4||1||rowspan=5|***P00||A0+rb||rowspan=5|Logical AND||rowspan=5|A=A&s
|- style="background:#efefef;"
|AND N||7||2||||E6 XX
|- style="background:#efefef;"
|AND (HL)||7||1||||A6
|- style="background:#efefef;"
|AND (IX+N)||19||3||||DD A6 XX
|- style="background:#efefef;"
|AND (IY+N)||19||3||||FD A6 XX
|-
|BIT b,r||8||2||rowspan=4|?*1?0-||CB 40+8*b+rb||rowspan=4|Test Bit||rowspan=4|m&{2^b}||
|-
|BIT b,(HL)||12||2||||CB 46+8*b
|-
|BIT b,(IX+N)||20||4||||DD CB XX 46+8*b
|-
|BIT b,(IY+N)||20||4||||FD CB XX 46+8*b
|- style="background:#efefef;"
|CALL NN||17||3||------||CD XX XX||Unconditional Call||-(SP)=PC,PC=nn
|-
|CALL C,NN||17/1||3||rowspan=8|------||DC XX XX||rowspan=8|Conditional Call||If Carry = 1
|-
|CALL NC,NN||17/1||3||||D4 XX XX||If carry = 0
|-
|CALL M,NN||17/1||3||||FC XX XX||If Sign = 1 (negative)
|-
|CALL P,NN||17/1||3||||F4 XX XX||If Sign = 0 (positive)
|-
|CALL Z,NN||17/1||3||||CC XX XX||If Zero = 1 (ans.=0)
|-
|CALL NZ,NN||17/1||3||||C4 XX XX||If Zero = 0 (non-zero)
|-
|CALL PE,NN||17/1||3||||EC XX XX||If Parity = 1 (even)
|-
|CALL PO,NN||17/1||3||||E4 XX XX||If Parity = 0 (odd)
|- style="background:#efefef;"
|CCF||4||1||--?-0*||3F||Complement Carry Flag||CY=~CY