Changes

Z80

27 bytes added, 12 March
/* Z80 Instructions */
* A = OR with the respective bit of the accumulator
* C = set if the counter (bc) is nonzero after decrementing
 
==== Registers ====
* r: 000=B, 001=C, 010=D, 011=E, 100=H, 101=L, 111=A (110 is treated separately)
* s: 000=B, 001=C, 010=D, 011=E, 100=IXH/IYH, 101=IXL/IYL, 111=A (110 is treated separately)
* pp: 00=BC, 01=DE, 10=HL, 11=SP
* p̃p̃: 00=BC, 01=DE, 10=HL, 11=AF
* qq: 00=BC, 01=DE, 10=IX/IY, 11=SP
* q̃q̃: 00=BC, 01=DE, 10=IX/IY, 11=AF
==== Miscellaneous ====
=== Load group ===
 
Legend: r: 000=B, 001=C, 010=D, 011=E, 100=H, 101=L, 111=A ; s: 000=B, 001=C, 010=D, 011=E, 100=IXH/IYH, 101=IXL/IYL, 111=A. (110 is treated separately)
{| class="wikitable" style="white-space: nowrap;"
| push q̃q̃ || DD/FD 11qq0101 || 5 || 15 (4,5,3,3) || sp -= 2, (sp) := q̃q̃
|}
 
Legend: p̃p̃: 00=BC, 01=DE, 10=HL, 11=AF ; q̃q̃: 00=BC, 01=DE, 10=IX/IY, 11=AF
=== 16-bit Arithmetic group ===
 
Legend: pp: 00=BC, 01=DE, 10=HL, 11=SP ; qq: 00=BC, 01=DE, 10=IX/IY, 11=SP
{| class="wikitable" style="white-space: nowrap;"
13,173
edits