Pixel graphics version of new logo created by Benedikt Freisen, as used for SourceFor...
[sdcc.git] / sdcc / sim / ucsim / src / sims / pdk.src / pdk16cl.h
blob2cd977b592737631ed039183c718aed94ccfa835
1 /*
2 * Simulator of microcontrollers (pdk16cl.h)
4 * Copyright (C) 2016 Drotos Daniel
5 *
6 * To contact author send email to dr.dkdb@gmail.com
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 PDK16CL_HEADER
29 #define PDK16CL_HEADER
31 #include "pdk15cl.h"
32 #include "memcl.h"
35 class cl_fpp16: public cl_fpp15
37 public:
38 cl_fpp16(int aid, class cl_pdk *the_puc, class cl_sim *asim);
39 cl_fpp16(int aid, class cl_pdk *the_puc, struct cpu_entry *IType, class cl_sim *asim);
40 virtual int init(void);
41 virtual const char *id_string(void);
42 //virtual void reset(void);
43 virtual int m_mask(void) { return 0x1ff; }
44 virtual int io_mask(void) { return 0x3f; }
45 virtual int rom_mask(void) { return 0x1fff; }
46 virtual struct dis_entry *dis_tbl(void);
47 virtual int execute(unsigned int code);
51 #endif
53 /* End of pdk.src/pdk16cl.h */