Changes

Jump to: navigation, search

Z80

1,134 bytes removed, 16:46, 1 April 2008
|IN L,(C)||12||2||||ED 68
|- style="background:#efefef;"
|-|INC A||4||1||***V0-||3C||rowspan=7|Increment (8-bit)||rowspan=7|r=r+1|-|INC B||4||1||||04|-|INC C||4||1||||0C|-|INC D||4||1||||14|-|INC E||4||1||||1C|-|INC H||4||1||||24|-|INC L||4||1||||2C|-|INC BC||6|1||------||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|-|INC IX||10||2||------||DD 23||rowspan=2|Increment||rowspan=2|xx=xx+1|-|INC IY||10||2||||FD 23|-|INC (HL)||11||1||***V0-||34||Increment (indirect)||(HL)=(HL)+1|-|INC (IX+N)||23||3||***V0-||DD 34 XX||rowspan=2|Increment||rowspan=2|(xx+d)=(xx+d)+1|-|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|-|INDR||21/1||2||?1??1-||ED BA||Input, Dec., Repeat||IND till B=0|-|INI||16||2||?*??1-||ED A2||Input and Increment||(HL)=(C),HL=HL+1,B=B-1|-|INIR||21/1||2||?1??1-||ED B2||Input, Inc., Repeat||INI till B=0|-
|}
|INC A | 4 | 1 |***V0-|3C |Increment (8-bit) |r=r+1 ||INC B | 4 | 1 | |04 | | ||INC C | 4 | 1 | |0C | | ||INC D | 4 | 1 | |14 | | ||INC E | 4 | 1 | |1C | | ||INC H | 4 | 1 | |24 | | ||INC L | 4 | 1 | |2C | | ||INC BC | 6 | 1 |------|03 |Increment (16-bit) |ss=ss+1 ||INC DE | 6 | 1 | |13 | | ||INC HL | 6 | 1 | |23 | | ||INC SP | 6 | 1 | |33 | | ||INC IX | 10 | 2 |------|DD 23 |Increment |xx=xx+1 ||INC IY | 10 | 2 | |FD 23 | | ||INC (HL) | 11 | 1 |***V0-|34 |Increment (indirect) |(HL)=(HL)+1 ||INC (IX+N) | 23 | 3 |***V0-|DD 34 XX |Increment |(xx+d)=(xx+d)+1 ||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||INDR |21/1| 2 |?1??1-|ED BA |Input, Dec., Repeat |IND till B=0 ||INI | 16 | 2 |?*??1-|ED A2 |Input and Increment |(HL)=(C),HL=HL+1,B=B-1||INIR |21/1| 2 |?1??1-|ED B2 |Input, Inc., Repeat |INI till B=0 |+-------------+----+---+------+------------+---------------------+----------------------+
|JP $NN | 10 | 3 |------|C3 XX XX |Unconditional Jump |PC=nn |
|JP (HL) | 4 | 1 |------|E9 |Unconditional Jump |PC=(HL) |
|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) |
+-------------+----+---+------+------------+---------------------+----------------------+ 
|JR $N+2 | 12 | 2 |------|18 XX |Relative Jump |PC=PC+e |
|JR C,$N+2 |12/7| 2 |------|38 XX |Cond. Relative Jump |If cc JR(cc=C,NC,NZ,Z)|
12,273
edits