1 |
3 |
gdevic |
# Automatically generated by process-pla.py
|
2 |
|
|
......1 .11..11...1..... - 0 1010x0xx ldx/cpx/inx/outx brk
|
3 |
|
|
....1.. .1.11..1.11.1..1 - 1 11011001 exx
|
4 |
|
|
....1.. .1.1.11..11..1.1 - 2 11101011 ex de,hl
|
5 |
|
|
....1.. .1.1...1.1.11..1 - 3 11x11101 IX/IY prefix
|
6 |
|
|
......1 1..11......1.1.1 - 4 010xx111 ld x,a/a,x
|
7 |
|
|
....1.. .1.1.1.1.11.1..1 - 5 11111001 ld sp,hl
|
8 |
|
|
....1.. .1.1.11..11.1..1 - 6 11101001 jp hl
|
9 |
|
|
....1.. 1.1.....1.1.1..1 - 7 00xx0001 ld rr,nn
|
10 |
|
|
....1.. 1.1.1.....1..11. - 8 000xx010 ld (rr),a/a,(rr)
|
11 |
|
|
....1.. 1.1.......1..1.1 - 9 00xxx011 inc/dec rr
|
12 |
|
|
....1.. .1.1.11.1.1..1.1 - 10 11100011 ex (sp),hl
|
13 |
|
|
......1 .11..1....1.1..1 - 11 101xx001 cpi/cpir/cpd/cpdr
|
14 |
|
|
......1 .11..1....1.1.1. - 12 101xx000 ldi/ldir/ldd/lddr
|
15 |
|
|
....1.. 1.1.....1.1..11. - 13 00xx0010 ld direction
|
16 |
|
|
....1.. 1.1......11..1.1 - 14 00xx1011 dec rr
|
17 |
|
|
......1 1..1.11....1.1.1 - 15 0110x111 rrd/rld
|
18 |
|
|
....1.. .1.1....1..11..1 - 16 11xx0101 push rr
|
19 |
|
|
....1.. 1.1........1.11. - 17 00xxx110 ld r,n
|
20 |
|
|
......1 .11..1....1.1.1. D 18 101xx000 ldi/ldir/ldd/lddr
|
21 |
|
|
......1 .11..1....1.1..1 D 19 101xx001 cpi/cpir/cpd/cpdr
|
22 |
|
|
......1 .11..1....1..1.1 - 20 101xx011 outx/otxr
|
23 |
|
|
......1 .11..1....1..11. - 21 101xx010 inx/inxr
|
24 |
|
|
1...... .1.11.1..11..1.1 - 22 11001011 CB prefix w/o IX/IY
|
25 |
|
|
....1.. .1.1....1...1..1 - 23 11xx0x01 push/pop
|
26 |
|
|
....1.. .1.11.1..1.11..1 - 24 11001101 call nn
|
27 |
|
|
....1.. 1.1.1......1.1.1 - 25 000xx111 rlca/rla/rrca/rra
|
28 |
|
|
....1.. 1.1.1..11.1.1.1. - 26 00010000 djnz e
|
29 |
|
|
......1 1..1......1.1... - 27 01xxx00x in/out r,(c)
|
30 |
|
|
....1.. .1.11..11.1..1.1 - 28 11010011 out (n),a
|
31 |
|
|
....1.. .1.11.1.1.1..1.1 - 29 11000011 jp nn
|
32 |
|
|
....1.. 1.1..11...1..11. - 30 0010x010 ld hl,(nn)/(nn),hl
|
33 |
|
|
......1 1..1......1..1.1 - 31 01xxx011 ld rr,(nn)/(nn),rr
|
34 |
|
|
......1 1..11......1.1.1 D 32 010xx111 ld i,a/a,i/r,a/a,r
|
35 |
|
|
......1 1..1....1.1..1.1 - 33 01xx0011 ld direction
|
36 |
|
|
......1 1..1......1.1..1 - 34 01xxx001 out (c),r
|
37 |
|
|
....1.. .1.11.1..11.1..1 - 35 11001001 ret
|
38 |
|
|
....1.. 1.1.1.....1..11. D 36 000xx010 ld(rr),a/a,(rr)
|
39 |
|
|
....1.. .1.11..1..1..1.1 - 37 1101x011 out (n),a/a,(n)
|
40 |
|
|
....1.. 1.1..1.1..1..11. - 38 0011x010 ld (nn),a/a,(nn)
|
41 |
|
|
....1.. 1.1.1.1..11.1.1. - 39 00001000 ex af,af'
|
42 |
|
|
.1..1.. 1.1..1.11..1.11. - 40 00110110 ld (ix+d),n
|
43 |
|
|
....1.. .1.1...1.1.11..1 D 41 11x11101 IX/IY
|
44 |
|
|
....1.. .1.1.......11.1. - 42 11xxx100 call cc,nn
|
45 |
|
|
....1.. .1.1......1..11. - 43 11xxx010 jp cc,nn
|
46 |
|
|
....1.. .1.11.1..11..1.1 - 44 11001011 CB prefix
|
47 |
|
|
....1.. .1.1......1.1.1. - 45 11xxx000 ret cc
|
48 |
|
|
......1 1..1.......11..1 - 46 01xxx101 reti/retn
|
49 |
|
|
....1.. 1.1.1..1.11.1.1. - 47 00011000 jr e
|
50 |
|
|
....1.. 1.1..1....1.1.1. - 48 001xx000 jr ss,e
|
51 |
|
|
.1..... .1.11.1..11..1.1 - 49 11001011 CB prefix with IX/IY
|
52 |
|
|
....1.. 1.1..1.11..1.11. - 50 00110110 ld (hl),n
|
53 |
|
|
....1.. .1.1.11..1.11..1 - 51 11101101 ED prefix
|
54 |
|
|
....1.. .11........1.11. - 52 10xxx110 add/sub/and/or/xor/cp (hl)
|
55 |
|
|
....1.. 1.1..1.11..11... - 53 0011010x inc/dec (hl)
|
56 |
|
|
.1...1. ................ - 54 xxxxxxxx Every CB with IX/IY
|
57 |
|
|
.....1. ...........1.11. - 55 xxxxx110 Every CB op (hl)
|
58 |
|
|
....1.. .1.1.......1.1.1 - 56 11xxx111 rst p
|
59 |
|
|
......1 1..11.1....1.1.1 - 57 0100x111 ld i,a/r,a
|
60 |
|
|
..1.1.. 1..1.......1.11. - 58 01xxx110 ld r,(hl)
|
61 |
|
|
..1.1.. 1..1.1.11....... - 59 01110xxx ld (hl),r
|
62 |
|
|
......1 1..1.11....1.1.1 D 60 0110x111 rrd/rld
|
63 |
|
|
....1.. 1..1............ - 61 01xxxxxx ld r,r'
|
64 |
|
|
.....1. ................ - 62 xxxxxxxx For all CB opcodes
|
65 |
|
|
....1.. 1.1........1.11. D 63 00xxx110 ld r,*
|
66 |
|
|
....1.. .1.1.......1.11. - 64 11xxx110 add/sub/and/or/xor/cmp a,imm
|
67 |
|
|
....1.. .11............. - 65 10xxxxxx add/sub/and/or/xor/cmp a,r
|
68 |
|
|
....1.. 1.1........11... - 66 00xxx10x inc/dec r
|
69 |
|
|
......1 1..1......1.1.1. - 67 01xxx000 in
|
70 |
|
|
......1 1..1......1..11. - 68 01xxx010 adc/sbc hl,rr
|
71 |
|
|
....1.. 1.1......11.1..1 - 69 00xx1001 add hl,rr
|
72 |
|
|
.....1. 1.1............. - 70 00xxxxxx rlc r
|
73 |
|
|
....1.. 1.1.1......1.1.1 D 71 000xx111 rlca/rla/rrca/rra
|
74 |
|
|
.....1. 1..1............ - 72 01xxxxxx bit b,r
|
75 |
|
|
.....1. .11............. - 73 10xxxxxx res b,r
|
76 |
|
|
.....1. .1.1............ - 74 11xxxxxx set b,r
|
77 |
|
|
....1.. 1.1........11..1 - 75 00xxx101 dec r
|
78 |
|
|
...1... .....1.1.1...... - 76 xx111xxx 111 (CP)
|
79 |
|
|
....1.. 1.1..11.1..1.1.1 - 77 00100111 daa
|
80 |
|
|
...1... ....1..11....... - 78 xx010xxx 010 (SUB)
|
81 |
|
|
...1... ....1..1.1...... - 79 xx011xxx 011 (SBC)
|
82 |
|
|
...1... ....1.1..1...... - 80 xx001xxx 001 (ADC)
|
83 |
|
|
....1.. 1.1..11..1.1.1.1 - 81 00101111 cpl
|
84 |
|
|
......1 1..1.......11.1. - 82 01xxx100 neg
|
85 |
|
|
......1 1..11..1...1.1.1 - 83 0101x111 ld a,i/a,r
|
86 |
|
|
...1... ....1.1.1....... - 84 xx000xxx 000 (ADD)
|
87 |
|
|
...1... .....11.1....... - 85 xx100xxx 100 (AND)
|
88 |
|
|
...1... .....1.11....... - 86 xx110xxx 110 (OR)
|
89 |
|
|
......1 1..11..1...1.1.1 D 87 0101x111 ld a,i / ld a,r
|
90 |
|
|
...1... .....11..1...... - 88 xx101xxx 101 (XOR)
|
91 |
|
|
....1.. 1.1..1.1.1.1.1.1 - 89 00111111 ccf
|
92 |
|
|
....1.. 1.1.1..11.1.1.1. D 90 00010000 djnz *
|
93 |
|
|
......1 .11..1....1..1.. - 91 101xx01x inx/outx/inxr/otxr
|
94 |
|
|
....1.. 1.1..1.11..1.1.1 - 92 00110111 scf
|
95 |
|
|
......1 .11..1....1.1..1 D 93 101xx001 cpi/cpir/cpd/cpdr
|
96 |
|
|
......1 .11..1....1.1.1. D 94 101xx000 ldi/ldir/ldd/lddr
|
97 |
|
|
....1.. 1..1.1.11..1.11. - 95 01110110 halt
|
98 |
|
|
......1 1..1.......1.11. - 96 01xxx110 im n
|
99 |
|
|
....1.. .1.1.1.1..1..1.1 - 97 1111x011 di/ei
|
100 |
|
|
....1.. .1.11..1..1..1.1 D 98 1101x011 out (*),a/in a,(*)
|
101 |
|
|
....... ...............1 - 99 xxxxxxx1 opcode[0]
|
102 |
|
|
....... .............1.. - 100 xxxxxx1x opcode[1]
|
103 |
|
|
....... ...........1.... - 101 xxxxx1xx opcode[2]
|
104 |
|
|
....... .........1...... - 102 xxxx1xxx opcode[3]
|
105 |
|
|
....... .......1........ - 103 xxx1xxxx opcode[4]
|
106 |
|
|
....... .....1.......... - 104 xx1xxxxx opcode[5]
|