Changes
Z80
,/* Opcodes */
|EX (SP),IX||23||2||DD E3||(SP)<->xx
|- style="background:#efefef;"
|EX (SP),IY||23||2||FD E3||
|- style="background:#efefef;"
|EX AF,AF'||4||1||08||AF<->AF'
|EXX||4||1||------||D9||Exchange||qq<->qq' (except AF)
|-
|HALT||4||1||------||76||Halt||
|- style="background:#efefef;"
|IM 0||8||2||rowspan=3|------||ED 46||rowspan=3|Interrupt Mode ||rowspan=3|(n=0,1,2)|
|- style="background:#efefef;"
|IM 1||8||2||||ED 56
|- style="background:#efefef;"
|IM 2||8||2||||ED 5E
|-
|IN A,(N)||11||2||------||DB XX||Input||A=(n)
|IN (C)||12||2||***P0-||ED 70||Input*||(Unsupported)
|-
|IN A,(C)||12||2||rowspan=7|***P0-||ED 78||rowspan=7|Input||rowspan=7|r=(C)
|-
|IN B,(C)||12||2||||ED 40
|-
|IN C,(C)||12||2||||ED 48
|-
|IN D,(C)||12||2||||ED 50
|-
|IN E,(C)||12||2||||ED 58
|-
|IN H,(C)||12||2||||ED 60
|-
|IN L,(C)||12||2||||ED 68
|- style="background:#efefef;"
|INC A||4||1||rowspan=7|***V0-||3C||rowspan=7|Increment (8-bit)||rowspan=7|r=r+1
|- style="background:#efefef;"
|INC B||4||1||||04
|- style="background:#efefef;"
|INC C||4||1||||0C
|- style="background:#efefef;"
|INC D||4||1||||14
|- style="background:#efefef;"
|INC E||4||1||||1C
|- style="background:#efefef;"
|INC H||4||1||||24
|- style="background:#efefef;"
|INC L||4||1||||2C
|-
|INC BC||6||1||rowspan=4|------||03||rowspan=4|Increment (16-bit)||rowspan=4|ss=ss+1
|-
|INC DE||6||1||||13
|-
|INC HL||6||1||||23
|-
|INC SP||6||1||||33
|- style="background:#efefef;"
|INC IX||10||2||rowspan=2|------||DD 23||rowspan=2|Increment||rowspan=2|xx=xx+1
|- style="background:#efefef;"
|INC IY||10||2||||FD 23
|-
|INC (HL)||11||1||***V0-||34||Increment (indirect)||(HL)=(HL)+1
|- style="background:#efefef;"
|INC (IX+N)||23||3||rowspan=2|***V0-||DD 34 XX||rowspan=2|Increment||rowspan=2|(xx+d)=(xx+d)+1
|- style="background:#efefef;"
|INC (IY+N)||23||3||||FD 34 XX
|-
|IND||16||2||?*??1-||ED AA||Input and Decrement||(HL)=(C),HL=HL-1,B=B-1
|INIR||21/1||2||?1??1-||ED B2||Input, Inc., Repeat||INI till B=0
|- style="background:#efefef;"
|JP NN||10||3||rowspan=4|------||C3 XX XX||rowspan=4|Unconditional Jump||PC=nn
|- style="background:#efefef;"
|JP (HL)||4||1||------||E9||PC=(HL)
|- style="background:#efefef;"
|JP (IX)||8||2||------||DD E9||rowspan=2|PC=(xx)
|- style="background:#efefef;"
|JP (IY)||8||2||||FD E9
|-
|JP C,$NN||10/1||3||rowspan=8|------||DA XX XX||rowspan=8|Conditional Jump||If Carry = 1
|-
|JP NC,$NN||10/1||3||||D2 XX XX||If Carry = 0
|-
|JP M,$NN||10/1||3||||FA XX XX||If Sign = 1 (negative)
|-
|JP P,$NN||10/1||3||||F2 XX XX||If Sign = 0 (positive)
|-
|JP Z,$NN||10/1||3||||CA XX XX||If Zero = 1 (ans.= 0)
|-
|JP NZ,$NN||10/1||3||||C2 XX XX||If Zero = 0 (non-zero)
|-
|JP PE,$NN||10/1||3||||EA XX XX||If Parity = 1 (even)
|-
|JP PO,$NN||10/1||3||||E2 XX XX||If Parity = 0 (odd)
|- style="background:#efefef;"
|JR $N+2||12||2||------||18 XX||Relative Jump||PC=PC+e