[ucsim-pdk] Implement pdk16 instruction set
[sdcc.git] / sdcc / sim / ucsim / pdk.src / pdk13cl.h
blob1fe8f3a54f1a4e1ec98ec05fd7eb068bbb83f9d2
1 /*
2 * Simulator of microcontrollers (pdk13cl.h)
4 * Copyright (C) @@S@@,@@Y@@ Drotos Daniel, Talker Bt.
5 *
6 * To contact author send email to drdani@mazsola.iit.uni-miskolc.hu
8 */
10 /* This file is part of microcontroller simulator: ucsim.
12 UCSIM is free software; you can redistribute it and/or modify
13 it under the terms of the GNU General Public License as published by
14 the Free Software Foundation; either version 2 of the License, or
15 (at your option) any later version.
17 UCSIM is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 GNU General Public License for more details.
22 You should have received a copy of the GNU General Public License
23 along with UCSIM; see the file COPYING. If not, write to the Free
24 Software Foundation, 59 Temple Place - Suite 330, Boston, MA
25 02111-1307, USA. */
26 /*@1@*/
28 #ifndef PDK13CL_HEADER
29 #define PDK13CL_HEADER
31 #include "pdkcl.h"
34 class cl_fpp13: public cl_fpp
36 public:
37 cl_fpp13(int aid, class cl_pdk *the_puc, class cl_sim *asim);
38 cl_fpp13(int aid, class cl_pdk *the_puc, struct cpu_entry *IType, class cl_sim *asim);
39 virtual const char *id_string(void) { return "pdk13"; }
40 virtual struct dis_entry *dis_tbl(void);
41 virtual int m_mask(void) { return 0x3f; }
42 virtual int io_mask(void) { return 0x1f; }
43 virtual int rom_mask(void) { return 0x1fff; }
44 virtual int execute(unsigned int code);
48 #endif
50 /* End of pdk.src/pdk13cl.h */