Changes

Jump to: navigation, search

Z80

1,513 bytes removed, 14:46, 1 April 2008
|DEC IY||10||2||||FD 2B
|-
|DI||4||1||------||F3||Disable Interrupts||
|- style="background:#efefef;"
|DJNZ $+2||13/8||1||------||10||Dec., Jump Non-Zero||B=B-1 till B=0
|-
|EI||4||1||------||FB||Enable Interrupts||
|- style="background:#efefef;"
|EX (SP),HL||19||1||------||E3||rowspan=5|Exchange||(SP)<->HL
|- style="background:#efefef;"
|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'
|- style="background:#efefef;"
|EX DE,HL||4||1||------||EB||DE<->HL
|- style="background:#efefef;"
|EXX||4||1||------||D9||Exchange||qq<->qq' (except AF)
|-
|HALT||4||1||------||76||Halt||
|- style="background:#efefef;"
|IM 0||8||2||------||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||***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;"
 
|}
+-------------+----+---+------+------------+---------------------+----------------------++-------------+----+---+------+------------+---------------------+----------------------+|DI | 4 | 1 |------|F3 |Disable Interrupts | |+-------------+----+---+------+------------+---------------------+----------------------+|DJNZ $+2 |13/8| 1 |------|10 |Dec., Jump Non-Zero |B=B-1 till B=0 |+-------------+----+---+------+------------+---------------------+----------------------+|EI | 4 | 1 |------|FB |Enable Interrupts | |+-------------+----+---+------+------------+---------------------+----------------------+|EX (SP),HL | 19 | 1 |------|E3 |Exchange |(SP)<->HL ||EX (SP),IX | 23 | 2 |------|DD E3 | |(SP)<->xx ||EX (SP),IY | 23 | 2 | |FD E3 | | ||EX AF,AF' | 4 | 1 |------|08 | |AF<->AF' ||EX DE,HL | 4 | 1 |------|EB | |DE<->HL ||EXX | 4 | 1 |------|D9 |Exchange |qq<->qq' (except AF)|+-------------+----+---+------+------------+---------------------+----------------------+|HALT | 4 | 1 |------|76 |Halt | |+-------------+----+---+------+------------+---------------------+----------------------+|IM 0 | 8 | 2 |------|ED 46 |Interrupt Mode | (n=0,1,2)||IM 1 | 8 | 2 | |ED 56 | | ||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 |***P0-|ED 78 |Input |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 | | |+-------------+----+---+------+------------+---------------------+----------------------+
|INC A | 4 | 1 |***V0-|3C |Increment (8-bit) |r=r+1 |
|INC B | 4 | 1 | |04 | | |
12,273
edits