Changes

Jump to: navigation, search

Z80

1,547 bytes added, 09:00, 2 April 2008
/* Opcodes */
|-
|INC A||4||1||***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||------||03||rowspan=4|Increment (16-bit)||rowspan=4|ss=ss+1
|-
|-
|INC SP||6|1||||33
|-style="background:#efefef;"
|INC IX||10||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||***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
|-
|-
|INIR||21/1||2||?1??1-||ED B2||Input, Inc., Repeat||INI till B=0
|-style="background:#efefef;"
|JP NN||10||3||------||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||PC=(xx)
|-style="background:#efefef;"
|JP (IY)||8||2||||FD E9
|-
|JP C,$NN||10/1||3||------||DA XX XX||rowspan=8|Conditional Jump||If Carry = 1
|-
|-
|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
|-
|JR C,$N+2||12/7||2||------||38 XX||rowspan=4|Cond. Relative Jump||If cc JR(cc=C,NC,NZ,Z)
|-
|-
|JR NZ,$N+2||12/7||2||||20 XX||
|-style="background:#efefef;"
|LD I,A||9||2||------||ED 47||rowspan=2|Load*||rowspan=2|dst=src
|-style="background:#efefef;"
|LD R,A||9||2||||ED 4F
|-
|LD A,I||9||2||**0*0-||ED 57||rowspan=2|Load*||rowspan=2|dst=src
|-
|LD A,R||9||2||||ED 5F
|-style="background:#efefef;"|LD A,r||4||1||------||78+rb||rowspan=2935|Load (8-bit)||rowspan=2935|dst=src|-style="background:#efefef;"|LD A,N||7||2||||3E XX|-style="background:#efefef;"
|LD A,(BC)||7||1||||0A
|-style="background:#efefef;"
|LD A,(DE)||7||1||||1A
|-style="background:#efefef;"
|LD A,(HL)||7||1||||7E
|-style="background:#efefef;"
|LD A,(IX+N)||19||3||||DD 7E XX
|-style="background:#efefef;"
|LD A,(IY+N)||19||3||||FD 7E XX
|-style="background:#efefef;"
|LD A,(NN)||13||3||||3A XX XX
|-style="background:#efefef;"
|LD B,r||4||1||||40+rb
|-style="background:#efefef;"
|LD B,N||7||2||||06 XX
|-style="background:#efefef;"
|LD B,(HL)||7||1||||46
|-style="background:#efefef;"
|LD B,(IX+N)||19||3||||DD 46 XX
|-style="background:#efefef;"
|LD B,(IY+N)||19||3||||FD 46 XX
|-style="background:#efefef;"
|LD C,r||4||1||||48+rb
|-style="background:#efefef;"
|LD C,N||7||2||||0E XX
|-style="background:#efefef;"
|LD C,(HL)||7||1||||4E
|-style="background:#efefef;"
|LD C,(IX+N)||19||3||||DD 4E XX
|-style="background:#efefef;"
|LD C,(IY+N)||19||3||||FD 4E XX
|-style="background:#efefef;"
|LD D,r||4||1||||50+rb
|-style="background:#efefef;"
|LD D,N||7||2||||16 XX
|-style="background:#efefef;"
|LD D,(HL)||7||1||||56
|-style="background:#efefef;"
|LD D,(IX+N)||19||3||||DD 56 XX
|-style="background:#efefef;"
|LD D,(IY+N)||19||3||||FD 56 XX
|-style="background:#efefef;"
|LD E,r||4||1||||58+rb
|-style="background:#efefef;"
|LD E,N||7||2||||1E XX
|-style="background:#efefef;"
|LD E,(HL)||7||1||||5E
|-style="background:#efefef;"
|LD E,(IX+N)||19||3||||DD 5E XX
|-style="background:#efefef;"
|LD E,(IY+N)||19||3||||FD 5E XX
|-style="background:#efefef;"
|LD H,r||4||1||||60+rb
|-style="background:#efefef;"
|LD H,N||7||2||||26 XX
|-style="background:#efefef;"
|LD H,(HL)||7||1||||66
|-style="background:#efefef;"
|LD H,(IX+N)||19||3||||DD 66 XX
|-style="background:#efefef;"
|LD H,(IY+N)||19||3||||FD 66 XX
|-style="background:#efefef;"
|LD L,r||4||1||||68+rb
|-style="background:#efefef;"
|LD L,N||7||2||||2E XX
|-style="background:#efefef;"
|LD L,(HL)||7||1||||6E
|-style="background:#efefef;"
|LD L,(IX+N)||19||3||||DD 6E XX
|-style="background:#efefef;"
|LD L,(IY+N)||19||3||||FD 6E XX
|-
|}
12,273
edits