Add support for the GBZ80, Z180, and eZ80 variants of the Z80 architecure. Add an...
[deliverable/binutils-gdb.git] / gas / testsuite / gas / z80 / z80_ii8.s
1 .text
2 .org 0
3
4 ; load group
5 ld a,ixh
6 ld b,ixh
7 ld c,ixh
8 ld d,ixh
9 ld e,ixh
10 ld ixh,ixh
11 ld ixl,ixh
12
13 ld a,ixl
14 ld b,ixl
15 ld c,ixl
16 ld d,ixl
17 ld e,ixl
18 ld ixh,ixl
19 ld ixl,ixl
20
21 ld a,iyh
22 ld b,iyh
23 ld c,iyh
24 ld d,iyh
25 ld e,iyh
26 ld iyh,iyh
27 ld iyl,iyh
28
29 ld a,iyl
30 ld b,iyl
31 ld c,iyl
32 ld d,iyl
33 ld e,iyl
34 ld iyh,iyl
35 ld iyl,iyl
36
37 ld ixh,a
38 ld ixh,b
39 ld ixh,c
40 ld ixh,d
41 ld ixh,e
42 ld ixh,ixh
43 ld ixh,ixl
44 ld ixh,25
45
46 ld ixl,a
47 ld ixl,b
48 ld ixl,c
49 ld ixl,d
50 ld ixl,e
51 ld ixl,ixh
52 ld ixl,ixl
53 ld ixl,25
54
55 ld iyh,a
56 ld iyh,b
57 ld iyh,c
58 ld iyh,d
59 ld iyh,e
60 ld iyh,iyh
61 ld iyh,iyl
62 ld iyh,25
63
64 ld iyl,a
65 ld iyl,b
66 ld iyl,c
67 ld iyl,d
68 ld iyl,e
69 ld iyl,iyh
70 ld iyl,iyl
71 ld iyl,25
72
73 ; arithmetic group
74 add a,ixh
75 add a,ixl
76 add a,iyh
77 add a,iyl
78
79 adc a,ixh
80 adc a,ixl
81 adc a,iyh
82 adc a,iyl
83
84 cp ixh
85 cp ixl
86 cp iyh
87 cp iyl
88
89 dec ixh
90 dec ixl
91 dec iyh
92 dec iyl
93
94 inc ixh
95 inc ixl
96 inc iyh
97 inc iyl
98
99 sbc a,ixh
100 sbc a,ixl
101 sbc a,iyh
102 sbc a,iyl
103
104 sub ixh
105 sub ixl
106 sub iyh
107 sub iyl
108
109 ; logic group
110 and ixh
111 and ixl
112 and iyh
113 and iyl
114
115 or ixh
116 or ixl
117 or iyh
118 or iyl
119
120 xor ixh
121 xor ixl
122 xor iyh
123 xor iyl
This page took 0.033108 seconds and 4 git commands to generate.