Changes

Jump to: navigation, search

Z80

2,347 bytes removed, 15:40, 2 April 2008
|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
|- style="background:#efefef;"
|INC IX||10||2||------||DD 23||rowspan=2|Increment||rowspan=2|xx=xx+1
|LD L,(IY+N)||19||3||||FD 6E XX
|-
|LD BC,(NN)||20||4||------||ED 4B XX XX ||rowspan=15|Load (16-bit)||rowspan=15|dst=src
|-
|LD BC,NN||10||3||||01 XX XX
|-
|LD DE,(NN)||20||4||||ED 5B XX XX
|-
|LD DE,NN||10||3||||11 XX XX
|-
|LD HL,(NN)||20||3||||2A XX XX
|-
|LD HL,NN||10||3||||21 XX XX
|-
|LD SP,(NN)||20||4||||ED 7B XX XX
|-
|LD SP,HL||6||1||||F9
|-
|LD SP,IX||10||2||||DD F9
|-
|LD SP,IY||10||2||||FD F9
|-
|LD SP,NN||10||3||||31 XX XX
|-
|LD IX,(NN)||20||4||||DD 2A XX XX
|-
|LD IX,NN||14||4||||DD 21 XX XX
|-
|LD IY,(NN)||20||4||||FD 2A XX XX
|-
|LD IY,NN||14||4||||FD 21 XX XX
|-
|LD (HL),r||7||1||------||70+rb||rowspan=15|Load (Indirect)||rowspan=15|dst=src
|-
|LD (HL),N||10||2||||36 XX
|-
|LD (BC),A||7||1||||02
|-
|LD (DE),A||7||1||||12
|-
|LD (NN),A||13||3||||32 XX XX
|-
|LD (NN),BC||20||4||||ED 43 XX XX
|-
|LD (NN),DE||20||4||||ED 53 XX XX
|-
|LD (NN),HL||16||3||||22 XX XX
|-
|LD (NN),IX||20||4||||DD 22 XX XX
|-
|LD (NN),IY||20||4||||FD 22 XX XX
|-
|LD (NN),SP||20||4||||ED 73 XX XX
|-
|LD (IX+N),r||19||3||||DD 70+rb XX
|-
|LD (IX+N),N||19||4||||DD 36 XX XX
|-
|LD (IY+N),r||19||3||||FD 70+rb XX
|-
|LD (IY+N),N||19||4||||FD 36 XX XX
|-
|LDD||16||2||--0*0-||ED A8||Load and Decrement||(DE)=(HL),HL=HL-1,#
|-
|LDDR||21/1||2||--000-||ED B8||Load, Dec., Repeat||LDD till BC=0
|-
|LDI||16||2||--0*0-||ED A0||Load and Increment||(DE)=(HL),HL=HL+1,#
|-
|LDIR||21/1||2||--000-||ED B0||Load, Inc., Repeat||LDI till BC=0
|-
|NEG||8||2||***V1*||ED 44||Negate||A=-A
|-
|NOP||4||1||------||00||No Operation||||
|-
|OR r||4||1||***P00||B0+rb||rowspan=5|Logical inclusive OR||rowspan=5|A=Avs
|-
|OR N||7||2||||F6 XX
|-
|OR (HL)||7||1||||B6
|-
|OR (IX+N)||19||3||||DD B6 XX
|-
|OR (IY+N)||19||3||||FD B6 XX
|-
|}
|LD BC,(NN) | 20 | 4 |------|ED 4B XX XX |Load (16-bit) |dst=src ||LD BC,NN | 10 | 3 | |01 XX XX | | ||LD DE,(NN) | 20 | 4 | |ED 5B XX XX | | ||LD DE,NN | 10 | 3 | |11 XX XX | | ||LD HL,(NN) | 20 | 3 | |2A XX XX | | ||LD HL,NN | 10 | 3 | |21 XX XX | | ||LD SP,(NN) | 20 | 4 | |ED 7B XX XX | | ||LD SP,HL | 6 | 1 | |F9 | | ||LD SP,IX | 10 | 2 | |DD F9 | | ||LD SP,IY | 10 | 2 | |FD F9 | | ||LD SP,NN | 10 | 3 | |31 XX XX | | ||LD IX,(NN) | 20 | 4 | |DD 2A XX XX | | ||LD IX,NN | 14 | 4 | |DD 21 XX XX | | ||LD IY,(NN) | 20 | 4 | |FD 2A XX XX | | ||LD IY,NN | 14 | 4 | |FD 21 XX XX | | ||LD (HL),r | 7 | 1 |------|70+rb |Load (Indirect) |dst=src ||LD (HL),N | 10 | 2 | |36 XX | | ||LD (BC),A | 7 | 1 | |02 | | ||LD (DE),A | 7 | 1 | |12 | | ||LD (NN),A | 13 | 3 | |32 XX XX | | ||LD (NN),BC | 20 | 4 | |ED 43 XX XX | | ||LD (NN),DE | 20 | 4 | |ED 53 XX XX | | ||LD (NN),HL | 16 | 3 | |22 XX XX | | ||LD (NN),IX | 20 | 4 | |DD 22 XX XX | | ||LD (NN),IY | 20 | 4 | |FD 22 XX XX | | ||LD (NN),SP | 20 | 4 | |ED 73 XX XX | | ||LD (IX+N),r | 19 | 3 | |DD 70+rb XX | | ||LD (IX+N),N | 19 | 4 | |DD 36 XX XX | | ||LD (IY+N),r | 19 | 3 | |FD 70+rb XX | | ||LD (IY+N),N | 19 | 4 | |FD 36 XX XX | | |+-------------+----+---+------+------------+---------------------+----------------------+|LDD | 16 | 2 |--0*0-|ED A8 |Load and Decrement |(DE)=(HL),HL=HL-1,# ||LDDR |21/1| 2 |--000-|ED B8 |Load, Dec., Repeat |LDD till BC=0 ||LDI | 16 | 2 |--0*0-|ED A0 |Load and Increment |(DE)=(HL),HL=HL+1,# ||LDIR |21/1| 2 |--000-|ED B0 |Load, Inc., Repeat |LDI till BC=0 |+-------------+----+---+------+------------+---------------------+----------------------+|NEG | 8 | 2 |***V1*|ED 44 |Negate |A=-A |+-------------+----+---+------+------------+---------------------+----------------------+|NOP | 4 | 1 |------|00 |No Operation | |+-------------+----+---+------+------------+---------------------+----------------------+|OR r | 4 | 1 |***P00|B0+rb |Logical inclusive OR |A=Avs ||OR N | 7 | 2 | |F6 XX | | ||OR (HL) | 7 | 1 | |B6 | | ||OR (IX+N) | 19 | 3 | |DD B6 XX | | ||OR (IY+N) | 19 | 3 | |FD B6 XX | | |
+-------------+----+---+------+------------+---------------------+----------------------+
|OUT (N),A | 11 | 2 |------|D3 XX |Output |(n)=A |
12,273
edits