summaryrefslogtreecommitdiffstats
path: root/src/micro/picinfo16bit.h
blob: 975c23c9d547b4577a354b1acf991865aa65e69e (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
/***************************************************************************
 *   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 PICINFO16BIT_H
#define PICINFO16BIT_H

#include "picinfo.h"
#include "asminfo.h"

/**
@short 16 Bit PIC Instructions
@author David Saxton
 */
class PicAsm16bit : public AsmInfo
{
	public:
		static PicAsm16bit *self();
		virtual Set set() const { return AsmInfo::PIC16; }
	
	protected:
		static PicAsm16bit *m_self;
	
	private:
		PicAsm16bit();
};

/**
@author David Saxton
 */
class PicInfo16bit : public PicInfo
{
	public:
		PicInfo16bit();
		~PicInfo16bit();
	
		virtual AsmInfo * instructionSet() { return PicAsm16bit::self(); }
};

/**
@author David Saxton
 */
class PicInfo17C7xx : public PicInfo16bit
{
	public:
		PicInfo17C7xx();
		~PicInfo17C7xx();
		virtual Support gpsimSupport() const { return NoSupport; }
};

/**
@author David Saxton
 */
class PicInfo17C75x : public PicInfo17C7xx
{
	public:
		PicInfo17C75x();
		~PicInfo17C75x();
		virtual Support gpsimSupport() const { return NoSupport; }
};

/**
@author David Saxton
 */
class PicInfo17C752 : public PicInfo17C75x
{
	public:
		PicInfo17C752();
		~PicInfo17C752();
		virtual Support gpsimSupport() const { return PartialSupport; }
};

/**
@author David Saxton
 */
class PicInfo17C756 : public PicInfo17C75x
{
	public:
		PicInfo17C756();
		~PicInfo17C756();
		virtual Support gpsimSupport() const { return PartialSupport; }
};

/**
@author David Saxton
 */
class PicInfo17C756A : public PicInfo17C75x
{
	public:
		PicInfo17C756A();
		~PicInfo17C756A();
		virtual Support gpsimSupport() const { return NoSupport; }
};

/**
@author David Saxton
 */
class PicInfo17C762 : public PicInfo17C75x
{
	public:
		PicInfo17C762();
		~PicInfo17C762();
		virtual Support gpsimSupport() const { return PartialSupport; }
};

/**
@author David Saxton
 */
class PicInfo17C766 : public PicInfo17C75x
{
	public:
		PicInfo17C766();
		~PicInfo17C766();
		virtual Support gpsimSupport() const { return PartialSupport; }
};

/**
@author David Saxton
 */
class PicInfo18Cxx2 : public PicInfo16bit
{
	public:
		PicInfo18Cxx2();
		~PicInfo18Cxx2();
		virtual Support gpsimSupport() const { return NoSupport; }
};

/**
@author David Saxton
 */
class PicInfo18C2x2 : public PicInfo16bit
{
	public:
		PicInfo18C2x2();
		~PicInfo18C2x2();
		virtual Support gpsimSupport() const { return NoSupport; }
};

/**
@author David Saxton
 */
class PicInfo18C242 : public PicInfo18C2x2
{
	public:
		PicInfo18C242();
		~PicInfo18C242();
		virtual Support gpsimSupport() const { return PartialSupport; }
};

/**
@author David Saxton
 */
class PicInfo18C252 : public PicInfo18C242
{
	public:
		PicInfo18C252();
		~PicInfo18C252();
		virtual Support gpsimSupport() const { return PartialSupport; }
};

/**
@author David Saxton
 */
class PicInfo18C4x2 : public PicInfo16bit
{
	public:
		PicInfo18C4x2();
		~PicInfo18C4x2();
		virtual Support gpsimSupport() const { return NoSupport; }
};

/**
@author David Saxton
 */
class PicInfo18C442 : public PicInfo18C4x2
{
	public:
		PicInfo18C442();
		~PicInfo18C442();
		virtual Support gpsimSupport() const { return PartialSupport; }
};

/**
@author David Saxton
 */
class PicInfo18C452 : public PicInfo18C442
{
	public:
		PicInfo18C452();
		~PicInfo18C452();
		virtual Support gpsimSupport() const { return PartialSupport; }
};

/**
@author David Saxton
 */
class PicInfo18F442 : public PicInfo18C442
{
	public:
		PicInfo18F442();
		~PicInfo18F442();
		virtual Support gpsimSupport() const { return PartialSupport; }
};

/**
@author David Saxton
 */
class PicInfo18F248 : public PicInfo18F442
{
	public:
		PicInfo18F248();
		~PicInfo18F248();
		virtual Support gpsimSupport() const { return NoSupport; }
};

/**
@author David Saxton
 */
class PicInfo18F452 : public PicInfo18F442
{
	public:
		PicInfo18F452();
		~PicInfo18F452();
		virtual Support gpsimSupport() const { return PartialSupport; }
};

/**
@author David Saxton
 */
class PicInfo18Fxx20 : public PicInfo16bit
{
	public:
		PicInfo18Fxx20();
		~PicInfo18Fxx20();
		virtual Support gpsimSupport() const { return NoSupport; }
};

/**
@author David Saxton
 */
class PicInfo18F1220 : public PicInfo18Fxx20
{
	public:
		PicInfo18F1220();
		~PicInfo18F1220();
		virtual Support gpsimSupport() const { return NoSupport; }
};

/**
@author David Saxton
 */
class PicInfo18F1320 : public PicInfo18F1220
{
	public:
		PicInfo18F1320();
		~PicInfo18F1320();
		virtual Support gpsimSupport() const { return NoSupport; }
};

#endif