Disallow 3-operand cmp[l][i] for ppc64
[deliverable/binutils-gdb.git] / gas / testsuite / gas / z80 / ld-group.s
CommitLineData
c3229d38
AM
1 .section .text
2 .org 0
3 ;; 8-bit load group
4 ld a,i
5 ld a,r
6 ld a,a
7 ld a,b
8 ld a,c
9 ld a,d
10 ld a,e
11 ld a,h
12 ld a,l
13 ld a,(hl)
14 ld a,(bc)
15 ld a,(de)
16 ld a,(ix+5)
17 ld a,(iy+5)
18 ld a,(0x8405)
19 ld a,0x11
20
21 ld b,a
22 ld b,b
23 ld b,c
24 ld b,d
25 ld b,e
26 ld b,h
27 ld b,l
28 ld b,(hl)
29 ld b,(ix+5)
30 ld b,(iy+5)
31 ld b,0x11
32
33 ld c,a
34 ld c,b
35 ld c,c
36 ld c,d
37 ld c,e
38 ld c,h
39 ld c,l
40 ld c,(hl)
41 ld c,(ix+5)
42 ld c,(iy+5)
43 ld c,0x11
44
45 ld d,a
46 ld d,b
47 ld d,c
48 ld d,d
49 ld d,e
50 ld d,h
51 ld d,l
52 ld d,(hl)
53 ld d,(ix+5)
54 ld d,(iy+5)
55 ld d,0x11
56
57 ld e,a
58 ld e,b
59 ld e,c
60 ld e,d
61 ld e,e
62 ld e,h
63 ld e,l
64 ld e,(hl)
65 ld e,(ix+5)
66 ld e,(iy+5)
67 ld e,0x11
68
69 ld h,a
70 ld h,b
71 ld h,c
72 ld h,d
73 ld h,e
74 ld h,h
75 ld h,l
76 ld h,(hl)
77 ld h,(ix+5)
78 ld h,(iy+5)
79 ld h,0x11
80
81 ld l,a
82 ld l,b
83 ld l,c
84 ld l,d
85 ld l,e
86 ld l,h
87 ld l,l
88 ld l,(hl)
89 ld l,(ix+5)
90 ld l,(iy+5)
91 ld l,0x11
92
93 ld (hl),a
94 ld (hl),b
95 ld (hl),c
96 ld (hl),d
97 ld (hl),e
98 ld (hl),h
99 ld (hl),l
100 ld (hl),0x11
101
102 ld (bc),a
103 ld (de),a
104
105 ld (ix+5),a
106 ld (ix+5),b
107 ld (ix+5),c
108 ld (ix+5),d
109 ld (ix+5),e
110 ld (ix+5),h
111 ld (ix+5),l
112 ld (ix+5),0x11
113
114 ld (iy+5),a
115 ld (iy+5),b
116 ld (iy+5),c
117 ld (iy+5),d
118 ld (iy+5),e
119 ld (iy+5),h
120 ld (iy+5),l
121 ld (iy+5),0x11
122
123 ld (0x8407),a
124 ld i,a
125 ld r,a
126
127 ;; 16-bit load group --- ld, pop and push
128 pop af
129
130 ld bc,0x8405
131 ld bc,(0x8405)
132 pop bc
133
134 ld de,0x8405
135 ld de,(0x8405)
136 pop de
137
138 ld hl,0x8405
139 ld hl,(0x8405)
140 pop hl
141
142 ld sp,hl
143 ld sp,ix
144 ld sp,iy
145 ld sp,0x8402
146 ld sp,(0x8302)
147
148 ld ix,0x8405
149 ld ix,(0x8405)
150 pop ix
151
152 ld iy,0x8405
153 ld iy,(0x8405)
154 pop iy
155
156 ld (0x8432),bc
157 ld (0x8432),de
158 ld (0x8432),hl
159 ld (0x8432),sp
160 ld (0x8432),ix
161 ld (0x8432),iy
162
163 push af
164 push bc
165 push de
166 push hl
167 push ix
168 push iy
169
This page took 0.359586 seconds and 4 git commands to generate.