blob: 4f20cb14eba4b8cc7f0bb2a608e4c0e2aca112a2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
|
/***************************************************************************
* Copyright (C) 2003-2004 by David Saxton *
* david@bluehaze.org *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
***************************************************************************/
#ifndef PICINFO14BIT_H
#define PICINFO14BIT_H
#include "picinfo.h"
#include "asminfo.h"
/**
@short 14 Bit PIC Instructions
@author David Saxton
*/
class PicAsm14bit : public AsmInfo
{
public:
static PicAsm14bit *self();
virtual Set set() const { return AsmInfo::PIC14; }
protected:
static PicAsm14bit *m_self;
private:
PicAsm14bit();
};
/**
@author David Saxton
*/
class PicInfo14bit : public PicInfo
{
public:
PicInfo14bit();
~PicInfo14bit();
virtual AsmInfo* instructionSet() { return PicAsm14bit::self(); }
};
/**
@author David Saxton
*/
class PicInfo16C8x : public PicInfo14bit
{
public:
PicInfo16C8x();
~PicInfo16C8x();
};
/**
@author David Saxton
*/
class PicInfo16C84 : public PicInfo16C8x
{
public:
PicInfo16C84();
~PicInfo16C84();
virtual Support gpsimSupport() const { return FullSupport; }
virtual Support microbeSupport() const { return FullSupport; }
};
/**
@author David Saxton
*/
class PicInfo16F84 : public PicInfo16C8x
{
public:
PicInfo16F84();
~PicInfo16F84();
virtual Support gpsimSupport() const { return FullSupport; }
virtual Support flowcodeSupport() const { return FullSupport; }
virtual Support microbeSupport() const { return FullSupport; }
};
/**
@author David Saxton
*/
class PicInfo16CR84 : public PicInfo16F84
{
public:
PicInfo16CR84();
~PicInfo16CR84();
virtual Support gpsimSupport() const { return FullSupport; }
virtual Support flowcodeSupport() const { return NoSupport; }
virtual Support microbeSupport() const { return NoSupport; }
};
/**
@author David Saxton
*/
class PicInfo16F83 : public PicInfo16C8x
{
public:
PicInfo16F83();
~PicInfo16F83();
virtual Support gpsimSupport() const { return FullSupport; }
};
/**
@author David Saxton
*/
class PicInfo16CR83 : public PicInfo16F83
{
public:
PicInfo16CR83();
~PicInfo16CR83();
virtual Support gpsimSupport() const { return FullSupport; }
};
/**
@author David Saxton
*/
class PicInfo16C61 : public PicInfo16C8x
{
public:
PicInfo16C61();
~PicInfo16C61();
virtual Support gpsimSupport() const { return FullSupport; }
};
/**
@author David Saxton
*/
class PicInfo16X6X : public PicInfo14bit
{
public:
PicInfo16X6X();
~PicInfo16X6X();
virtual Support gpsimSupport() const { return NoSupport; }
};
/**
@author David Saxton
*/
class PicInfo16C62 : public PicInfo16X6X
{
public:
PicInfo16C62();
~PicInfo16C62();
virtual Support gpsimSupport() const { return FullSupport; }
};
/**
@author David Saxton
*/
class PicInfo16C63 : public PicInfo16C62
{
public:
PicInfo16C63();
~PicInfo16C63();
virtual Support gpsimSupport() const { return FullSupport; }
};
/**
@author David Saxton
*/
class PicInfo16C64 : public PicInfo16X6X
{
public:
PicInfo16C64();
~PicInfo16C64();
virtual Support gpsimSupport() const { return PartialSupport; }
};
/**
@author David Saxton
*/
class PicInfo16C65 : public PicInfo16C64
{
public:
PicInfo16C65();
~PicInfo16C65();
virtual Support gpsimSupport() const { return PartialSupport; }
};
/**
@author David Saxton
*/
class PicInfo16F62x : public PicInfo16X6X
{
public:
PicInfo16F62x();
~PicInfo16F62x();
virtual Support gpsimSupport() const { return NoSupport; }
};
/**
@author David Saxton
*/
class PicInfo16F627 : public PicInfo16F62x
{
public:
PicInfo16F627();
~PicInfo16F627();
virtual Support gpsimSupport() const { return FullSupport; }
virtual Support flowcodeSupport() const { return PartialSupport; }
virtual Support microbeSupport() const { return FullSupport; }
};
/**
@author David Saxton
*/
class PicInfo16F628 : public PicInfo16F627
{
public:
PicInfo16F628();
~PicInfo16F628();
virtual Support gpsimSupport() const { return FullSupport; }
virtual Support flowcodeSupport() const { return PartialSupport; }
virtual Support microbeSupport() const { return FullSupport; }
};
/**
@author David Saxton
*/
class PicInfo16F648 : public PicInfo16F628
{
public:
PicInfo16F648();
~PicInfo16F648();
virtual Support gpsimSupport() const { return NoSupport; }
};
/**
@author David Saxton
*/
class PicInfo16C71 : public PicInfo16C61
{
public:
PicInfo16C71();
~PicInfo16C71();
virtual Support gpsimSupport() const { return FullSupport; }
};
/**
@author David Saxton
*/
class PicInfo16C712 : public PicInfo16C62
{
public:
PicInfo16C712();
~PicInfo16C712();
virtual Support gpsimSupport() const { return FullSupport; }
};
/**
@author David Saxton
*/
class PicInfo16C716 : public PicInfo16C712
{
public:
PicInfo16C716();
~PicInfo16C716();
virtual Support gpsimSupport() const { return FullSupport; }
};
/**
@author David Saxton
*/
class PicInfo16C72 : public PicInfo16C62
{
public:
PicInfo16C72();
~PicInfo16C72();
virtual Support gpsimSupport() const { return PartialSupport; }
};
/**
@author David Saxton
*/
class PicInfo16C73 : public PicInfo16C63
{
public:
PicInfo16C73();
~PicInfo16C73();
virtual Support gpsimSupport() const { return PartialSupport; }
};
/**
@author David Saxton
*/
class PicInfo16C74 : public PicInfo16C65
{
public:
PicInfo16C74();
~PicInfo16C74();
virtual Support gpsimSupport() const { return PartialSupport; }
};
/**
@author David Saxton
*/
class PicInfo16F873 : public PicInfo16C73
{
public:
PicInfo16F873();
~PicInfo16F873();
virtual Support gpsimSupport() const { return PartialSupport; }
};
/**
@author David Saxton
*/
class PicInfo16F874 : public PicInfo16C74
{
public:
PicInfo16F874();
~PicInfo16F874();
virtual Support gpsimSupport() const { return PartialSupport; }
};
/**
@author David Saxton
*/
class PicInfo16F877 : public PicInfo16F874
{
public:
PicInfo16F877();
~PicInfo16F877();
virtual Support gpsimSupport() const { return PartialSupport; }
};
#endif
|