Add new ELF ABI defines
[deliverable/binutils-gdb.git] / gas / config / tc-m68851.h
CommitLineData
252b5132
RH
1/* This file is tc-m68851.h
2
82efde3a
KH
3 Copyright (C) 1987-1992, 2000 Free Software Foundation, Inc.
4
252b5132 5 This file is part of GAS, the GNU Assembler.
82efde3a 6
252b5132
RH
7 GAS is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2, or (at your option)
10 any later version.
82efde3a 11
252b5132
RH
12 GAS is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
82efde3a 16
252b5132 17 You should have received a copy of the GNU General Public License
82efde3a
KH
18 along with GAS; see the file COPYING. If not, write to the Free
19 Software Foundation, 59 Temple Place - Suite 330, Boston, MA
20 02111-1307, USA. */
252b5132
RH
21
22/*
23 * pmmu.h
24 */
25
26/* I suppose we have to copyright this file. Someone on the net sent it
27 to us as part of the changes for the m68851 Memory Management Unit */
28
29/* Copyright (C) 1987 Free Software Foundation, Inc.
82efde3a 30
252b5132 31 This file is part of Gas, the GNU Assembler.
82efde3a 32
252b5132
RH
33 The GNU assembler is distributed in the hope that it will be
34 useful, but WITHOUT ANY WARRANTY. No author or distributor
35 accepts responsibility to anyone for the consequences of using it
36 or for whether it serves any particular purpose or works at all,
37 unless he says so in writing. Refer to the GNU Assembler General
38 Public License for full details.
82efde3a 39
252b5132
RH
40 Everyone is granted permission to copy, modify and redistribute
41 the GNU Assembler, but only under the conditions described in the
42 GNU Assembler General Public License. A copy of this license is
43 supposed to have been given to you along with the GNU Assembler
44 so you can know your rights and responsibilities. It should be
45 in a file named COPYING. Among other things, the copyright
46 notice and this notice must be preserved on all copies. */
47
48#ifdef m68851
49
50/*
82efde3a 51 I didn't use much imagination in choosing the
252b5132
RH
52 following codes, so many of them aren't very
53 mnemonic. -rab
82efde3a 54
252b5132
RH
55 P pmmu register
56 Possible values:
57 000 TC Translation Control reg
58 100 CAL Current Access Level
59 101 VAL Validate Access Level
60 110 SCC Stack Change Control
61 111 AC Access Control
82efde3a 62
252b5132
RH
63 W wide pmmu registers
64 Possible values:
65 001 DRP Dma Root Pointer
66 010 SRP Supervisor Root Pointer
67 011 CRP Cpu Root Pointer
82efde3a 68
252b5132
RH
69 f function code register
70 0 SFC
71 1 DFC
82efde3a 72
252b5132 73 V VAL register only
82efde3a 74
252b5132
RH
75 X BADx, BACx
76 100 BAD Breakpoint Acknowledge Data
77 101 BAC Breakpoint Acknowledge Control
82efde3a 78
252b5132
RH
79 Y PSR
80 Z PCSR
82efde3a 81
252b5132 82 | memory (modes 2-6, 7.*)
82efde3a 83
252b5132
RH
84 */
85
86/*
87 * these defines should be in m68k.c but
88 * i put them here to keep all the m68851 stuff
89 * together -rab
90 * JF--Make sure these #s don't clash with the ones in m68k.c
91 * That would be BAD.
92 */
93#define TC (FPS+1) /* 48 */
94#define DRP (TC+1) /* 49 */
95#define SRP (DRP+1) /* 50 */
96#define CRP (SRP+1) /* 51 */
97#define CAL (CRP+1) /* 52 */
98#define VAL (CAL+1) /* 53 */
99#define SCC (VAL+1) /* 54 */
100#define AC (SCC+1) /* 55 */
101#define BAD (AC+1) /* 56,57,58,59, 60,61,62,63 */
102#define BAC (BAD+8) /* 64,65,66,67, 68,69,70,71 */
103#define PSR (BAC+8) /* 72 */
104#define PCSR (PSR+1) /* 73 */
105
106/* name */ /* opcode */ /* match */ /* args */
107
108{"pbac", one(0xf0c7), one(0xffbf), "Bc"},
109{"pbacw", one(0xf087), one(0xffbf), "Bc"},
110{"pbas", one(0xf0c6), one(0xffbf), "Bc"},
111{"pbasw", one(0xf086), one(0xffbf), "Bc"},
112{"pbbc", one(0xf0c1), one(0xffbf), "Bc"},
113{"pbbcw", one(0xf081), one(0xffbf), "Bc"},
114{"pbbs", one(0xf0c0), one(0xffbf), "Bc"},
115{"pbbsw", one(0xf080), one(0xffbf), "Bc"},
116{"pbcc", one(0xf0cf), one(0xffbf), "Bc"},
117{"pbccw", one(0xf08f), one(0xffbf), "Bc"},
118{"pbcs", one(0xf0ce), one(0xffbf), "Bc"},
119{"pbcsw", one(0xf08e), one(0xffbf), "Bc"},
120{"pbgc", one(0xf0cd), one(0xffbf), "Bc"},
121{"pbgcw", one(0xf08d), one(0xffbf), "Bc"},
122{"pbgs", one(0xf0cc), one(0xffbf), "Bc"},
123{"pbgsw", one(0xf08c), one(0xffbf), "Bc"},
124{"pbic", one(0xf0cb), one(0xffbf), "Bc"},
125{"pbicw", one(0xf08b), one(0xffbf), "Bc"},
126{"pbis", one(0xf0ca), one(0xffbf), "Bc"},
127{"pbisw", one(0xf08a), one(0xffbf), "Bc"},
128{"pblc", one(0xf0c3), one(0xffbf), "Bc"},
129{"pblcw", one(0xf083), one(0xffbf), "Bc"},
130{"pbls", one(0xf0c2), one(0xffbf), "Bc"},
131{"pblsw", one(0xf082), one(0xffbf), "Bc"},
132{"pbsc", one(0xf0c5), one(0xffbf), "Bc"},
133{"pbscw", one(0xf085), one(0xffbf), "Bc"},
134{"pbss", one(0xf0c4), one(0xffbf), "Bc"},
135{"pbssw", one(0xf084), one(0xffbf), "Bc"},
136{"pbwc", one(0xf0c9), one(0xffbf), "Bc"},
137{"pbwcw", one(0xf089), one(0xffbf), "Bc"},
138{"pbws", one(0xf0c8), one(0xffbf), "Bc"},
139{"pbwsw", one(0xf088), one(0xffbf), "Bc"},
82efde3a 140
252b5132
RH
141{"pdbac", two(0xf048, 0x0007), two(0xfff8, 0xffff), "DsBw"},
142{"pdbas", two(0xf048, 0x0006), two(0xfff8, 0xffff), "DsBw"},
143{"pdbbc", two(0xf048, 0x0001), two(0xfff8, 0xffff), "DsBw"},
144{"pdbbs", two(0xf048, 0x0000), two(0xfff8, 0xffff), "DsBw"},
145{"pdbcc", two(0xf048, 0x000f), two(0xfff8, 0xffff), "DsBw"},
146{"pdbcs", two(0xf048, 0x000e), two(0xfff8, 0xffff), "DsBw"},
147{"pdbgc", two(0xf048, 0x000d), two(0xfff8, 0xffff), "DsBw"},
148{"pdbgs", two(0xf048, 0x000c), two(0xfff8, 0xffff), "DsBw"},
149{"pdbic", two(0xf048, 0x000b), two(0xfff8, 0xffff), "DsBw"},
150{"pdbis", two(0xf048, 0x000a), two(0xfff8, 0xffff), "DsBw"},
151{"pdblc", two(0xf048, 0x0003), two(0xfff8, 0xffff), "DsBw"},
152{"pdbls", two(0xf048, 0x0002), two(0xfff8, 0xffff), "DsBw"},
153{"pdbsc", two(0xf048, 0x0005), two(0xfff8, 0xffff), "DsBw"},
154{"pdbss", two(0xf048, 0x0004), two(0xfff8, 0xffff), "DsBw"},
155{"pdbwc", two(0xf048, 0x0009), two(0xfff8, 0xffff), "DsBw"},
156{"pdbws", two(0xf048, 0x0008), two(0xfff8, 0xffff), "DsBw"},
82efde3a 157
252b5132 158{"pflusha", two(0xf000, 0x2400), two(0xffff, 0xffff), "" },
82efde3a 159
252b5132
RH
160{"pflush", two(0xf000, 0x3010), two(0xffc0, 0xfe10), "T3T9" },
161{"pflush", two(0xf000, 0x3810), two(0xffc0, 0xfe10), "T3T9&s" },
162{"pflush", two(0xf000, 0x3008), two(0xffc0, 0xfe18), "D3T9" },
163{"pflush", two(0xf000, 0x3808), two(0xffc0, 0xfe18), "D3T9&s" },
164{"pflush", two(0xf000, 0x3000), two(0xffc0, 0xfe1e), "f3T9" },
165{"pflush", two(0xf000, 0x3800), two(0xffc0, 0xfe1e), "f3T9&s" },
82efde3a 166
252b5132
RH
167{"pflushs", two(0xf000, 0x3410), two(0xfff8, 0xfe10), "T3T9" },
168{"pflushs", two(0xf000, 0x3c00), two(0xfff8, 0xfe00), "T3T9&s" },
169{"pflushs", two(0xf000, 0x3408), two(0xfff8, 0xfe18), "D3T9" },
170{"pflushs", two(0xf000, 0x3c08), two(0xfff8, 0xfe18), "D3T9&s" },
171{"pflushs", two(0xf000, 0x3400), two(0xfff8, 0xfe1e), "f3T9" },
172{"pflushs", two(0xf000, 0x3c00), two(0xfff8, 0xfe1e), "f3T9&s"},
82efde3a 173
252b5132 174{"pflushr", two(0xf000, 0xa000), two(0xffc0, 0xffff), "|s" },
82efde3a 175
252b5132
RH
176{"ploadr", two(0xf000, 0x2210), two(0xffc0, 0xfff0), "T3&s" },
177{"ploadr", two(0xf000, 0x2208), two(0xffc0, 0xfff8), "D3&s" },
178{"ploadr", two(0xf000, 0x2200), two(0xffc0, 0xfffe), "f3&s" },
179{"ploadw", two(0xf000, 0x2010), two(0xffc0, 0xfff0), "T3&s" },
180{"ploadw", two(0xf000, 0x2008), two(0xffc0, 0xfff8), "D3&s" },
181{"ploadw", two(0xf000, 0x2000), two(0xffc0, 0xfffe), "f3&s" },
82efde3a 182
252b5132
RH
183 /* TC, CRP, DRP, SRP, CAL, VAL, SCC, AC */
184{"pmove", two(0xf000, 0x4000), two(0xffc0, 0xe3ff), "*sP8" },
185{"pmove", two(0xf000, 0x4200), two(0xffc0, 0xe3ff), "P8%s" },
186{"pmove", two(0xf000, 0x4000), two(0xffc0, 0xe3ff), "|sW8" },
187{"pmove", two(0xf000, 0x4200), two(0xffc0, 0xe3ff), "W8~s" },
82efde3a 188
252b5132
RH
189 /* BADx, BACx */
190{"pmove", two(0xf000, 0x6200), two(0xffc0, 0xe3e3), "*sX3" },
191{"pmove", two(0xf000, 0x6000), two(0xffc0, 0xe3e3), "X3%s" },
82efde3a 192
252b5132
RH
193 /* PSR, PCSR */
194 /* {"pmove", two(0xf000, 0x6100), two(oxffc0, oxffff), "*sZ8" }, */
195{"pmove", two(0xf000, 0x6000), two(0xffc0, 0xffff), "*sY8" },
196{"pmove", two(0xf000, 0x6200), two(0xffc0, 0xffff), "Y8%s" },
197{"pmove", two(0xf000, 0x6600), two(0xffc0, 0xffff), "Z8%s" },
82efde3a 198
252b5132
RH
199{"prestore", one(0xf140), one(0xffc0), "&s"},
200{"prestore", one(0xf158), one(0xfff8), "+s"},
201{"psave", one(0xf100), one(0xffc0), "&s"},
202{"psave", one(0xf100), one(0xffc0), "+s"},
82efde3a 203
252b5132
RH
204{"psac", two(0xf040, 0x0007), two(0xffc0, 0xffff), "@s"},
205{"psas", two(0xf040, 0x0006), two(0xffc0, 0xffff), "@s"},
206{"psbc", two(0xf040, 0x0001), two(0xffc0, 0xffff), "@s"},
207{"psbs", two(0xf040, 0x0000), two(0xffc0, 0xffff), "@s"},
208{"pscc", two(0xf040, 0x000f), two(0xffc0, 0xffff), "@s"},
209{"pscs", two(0xf040, 0x000e), two(0xffc0, 0xffff), "@s"},
210{"psgc", two(0xf040, 0x000d), two(0xffc0, 0xffff), "@s"},
211{"psgs", two(0xf040, 0x000c), two(0xffc0, 0xffff), "@s"},
212{"psic", two(0xf040, 0x000b), two(0xffc0, 0xffff), "@s"},
213{"psis", two(0xf040, 0x000a), two(0xffc0, 0xffff), "@s"},
214{"pslc", two(0xf040, 0x0003), two(0xffc0, 0xffff), "@s"},
215{"psls", two(0xf040, 0x0002), two(0xffc0, 0xffff), "@s"},
216{"pssc", two(0xf040, 0x0005), two(0xffc0, 0xffff), "@s"},
217{"psss", two(0xf040, 0x0004), two(0xffc0, 0xffff), "@s"},
218{"pswc", two(0xf040, 0x0009), two(0xffc0, 0xffff), "@s"},
219{"psws", two(0xf040, 0x0008), two(0xffc0, 0xffff), "@s"},
82efde3a 220
252b5132
RH
221{"ptestr", two(0xf000, 0x8210), two(0xffc0, 0xe3f0), "T3&sQ8" },
222{"ptestr", two(0xf000, 0x8310), two(0xffc0, 0xe310), "T3&sQ8A9" },
223{"ptestr", two(0xf000, 0x8208), two(0xffc0, 0xe3f8), "D3&sQ8" },
224{"ptestr", two(0xf000, 0x8308), two(0xffc0, 0xe318), "D3&sQ8A9" },
225{"ptestr", two(0xf000, 0x8200), two(0xffc0, 0xe3fe), "f3&sQ8" },
226{"ptestr", two(0xf000, 0x8300), two(0xffc0, 0xe31e), "f3&sQ8A9" },
82efde3a 227
252b5132
RH
228{"ptestw", two(0xf000, 0x8010), two(0xffc0, 0xe3f0), "T3&sQ8" },
229{"ptestw", two(0xf000, 0x8110), two(0xffc0, 0xe310), "T3&sQ8A9" },
230{"ptestw", two(0xf000, 0x8008), two(0xffc0, 0xe3f8), "D3&sQ8" },
231{"ptestw", two(0xf000, 0x8108), two(0xffc0, 0xe318), "D3&sQ8A9" },
232{"ptestw", two(0xf000, 0x8000), two(0xffc0, 0xe3fe), "f3&sQ8" },
233{"ptestw", two(0xf000, 0x8100), two(0xffc0, 0xe31e), "f3&sQ8A9" },
82efde3a 234
252b5132
RH
235{"ptrapacw", two(0xf07a, 0x0007), two(0xffff, 0xffff), "#w"},
236{"ptrapacl", two(0xf07b, 0x0007), two(0xffff, 0xffff), "#l"},
237{"ptrapac", two(0xf07c, 0x0007), two(0xffff, 0xffff), ""},
82efde3a 238
252b5132
RH
239{"ptrapasw", two(0xf07a, 0x0006), two(0xffff, 0xffff), "#w"},
240{"ptrapasl", two(0xf07b, 0x0006), two(0xffff, 0xffff), "#l"},
241{"ptrapas", two(0xf07c, 0x0006), two(0xffff, 0xffff), ""},
82efde3a 242
252b5132
RH
243{"ptrapbcw", two(0xf07a, 0x0001), two(0xffff, 0xffff), "#w"},
244{"ptrapbcl", two(0xf07b, 0x0001), two(0xffff, 0xffff), "#l"},
245{"ptrapbc", two(0xf07c, 0x0001), two(0xffff, 0xffff), ""},
82efde3a 246
252b5132
RH
247{"ptrapbsw", two(0xf07a, 0x0000), two(0xffff, 0xffff), "#w"},
248{"ptrapbsl", two(0xf07b, 0x0000), two(0xffff, 0xffff), "#l"},
249{"ptrapbs", two(0xf07c, 0x0000), two(0xffff, 0xffff), ""},
82efde3a 250
252b5132
RH
251{"ptrapccw", two(0xf07a, 0x000f), two(0xffff, 0xffff), "#w"},
252{"ptrapccl", two(0xf07b, 0x000f), two(0xffff, 0xffff), "#l"},
253{"ptrapcc", two(0xf07c, 0x000f), two(0xffff, 0xffff), ""},
82efde3a 254
252b5132
RH
255{"ptrapcsw", two(0xf07a, 0x000e), two(0xffff, 0xffff), "#w"},
256{"ptrapcsl", two(0xf07b, 0x000e), two(0xffff, 0xffff), "#l"},
257{"ptrapcs", two(0xf07c, 0x000e), two(0xffff, 0xffff), ""},
82efde3a 258
252b5132
RH
259{"ptrapgcw", two(0xf07a, 0x000d), two(0xffff, 0xffff), "#w"},
260{"ptrapgcl", two(0xf07b, 0x000d), two(0xffff, 0xffff), "#l"},
261{"ptrapgc", two(0xf07c, 0x000d), two(0xffff, 0xffff), ""},
82efde3a 262
252b5132
RH
263{"ptrapgsw", two(0xf07a, 0x000c), two(0xffff, 0xffff), "#w"},
264{"ptrapgsl", two(0xf07b, 0x000c), two(0xffff, 0xffff), "#l"},
265{"ptrapgs", two(0xf07c, 0x000c), two(0xffff, 0xffff), ""},
82efde3a 266
252b5132
RH
267{"ptrapicw", two(0xf07a, 0x000b), two(0xffff, 0xffff), "#w"},
268{"ptrapicl", two(0xf07b, 0x000b), two(0xffff, 0xffff), "#l"},
269{"ptrapic", two(0xf07c, 0x000b), two(0xffff, 0xffff), ""},
82efde3a 270
252b5132
RH
271{"ptrapisw", two(0xf07a, 0x000a), two(0xffff, 0xffff), "#w"},
272{"ptrapisl", two(0xf07b, 0x000a), two(0xffff, 0xffff), "#l"},
273{"ptrapis", two(0xf07c, 0x000a), two(0xffff, 0xffff), ""},
82efde3a 274
252b5132
RH
275{"ptraplcw", two(0xf07a, 0x0003), two(0xffff, 0xffff), "#w"},
276{"ptraplcl", two(0xf07b, 0x0003), two(0xffff, 0xffff), "#l"},
277{"ptraplc", two(0xf07c, 0x0003), two(0xffff, 0xffff), ""},
82efde3a 278
252b5132
RH
279{"ptraplsw", two(0xf07a, 0x0002), two(0xffff, 0xffff), "#w"},
280{"ptraplsl", two(0xf07b, 0x0002), two(0xffff, 0xffff), "#l"},
281{"ptrapls", two(0xf07c, 0x0002), two(0xffff, 0xffff), ""},
82efde3a 282
252b5132
RH
283{"ptrapscw", two(0xf07a, 0x0005), two(0xffff, 0xffff), "#w"},
284{"ptrapscl", two(0xf07b, 0x0005), two(0xffff, 0xffff), "#l"},
285{"ptrapsc", two(0xf07c, 0x0005), two(0xffff, 0xffff), ""},
82efde3a 286
252b5132
RH
287{"ptrapssw", two(0xf07a, 0x0004), two(0xffff, 0xffff), "#w"},
288{"ptrapssl", two(0xf07b, 0x0004), two(0xffff, 0xffff), "#l"},
289{"ptrapss", two(0xf07c, 0x0004), two(0xffff, 0xffff), ""},
82efde3a 290
252b5132
RH
291{"ptrapwcw", two(0xf07a, 0x0009), two(0xffff, 0xffff), "#w"},
292{"ptrapwcl", two(0xf07b, 0x0009), two(0xffff, 0xffff), "#l"},
293{"ptrapwc", two(0xf07c, 0x0009), two(0xffff, 0xffff), ""},
82efde3a 294
252b5132
RH
295{"ptrapwsw", two(0xf07a, 0x0008), two(0xffff, 0xffff), "#w"},
296{"ptrapwsl", two(0xf07b, 0x0008), two(0xffff, 0xffff), "#l"},
297{"ptrapws", two(0xf07c, 0x0008), two(0xffff, 0xffff), ""},
82efde3a 298
252b5132
RH
299{"pvalid", two(0xf000, 0x2800), two(0xffc0, 0xffff), "Vs&s"},
300{"pvalid", two(0xf000, 0x2c00), two(0xffc0, 0xfff8), "A3&s" },
252b5132 301
82efde3a 302#endif /* m68851 */
This page took 0.078413 seconds and 4 git commands to generate.