[ucsim] Update email and file info, fix stm8 flash controller
[sdcc.git] / sdcc / sim / ucsim / src / sims / pblaze.src / instcl.h
blob2672452de92e4e2da49bdf5214842b750c83f615
1 /*
2 * Copyright (C) 2012-2013 Jiří Šimek
3 * Copyright (C) 2013 Zbyněk Křivka <krivka@fit.vutbr.cz>
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details.
15 * You should have received a copy of the GNU Library General Public License
16 * along with this library; see the file COPYING.LIB. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
22 cl_memory_cell * get_register(uint code, bool first_operand);
23 uint get_constant(uint code);
24 uint get_address6(uint code);
25 uint get_address10(uint code);
26 uint get_address12(uint code);
28 virtual int inst_add(uint code, int operands);
29 virtual int inst_addcy(uint code, int operands);
30 virtual int inst_and(uint code, int operands);
31 virtual int inst_call(uint code, int inst, int operands);
32 virtual int inst_compare(uint code, int operands);
33 virtual int inst_comparecy(uint code, int operands);
34 virtual int inst_interrupt(bool value);
35 virtual int inst_fetch(uint code, int inst);
36 virtual int inst_hwbuild(uint code, int inst);
37 virtual int inst_input(uint code, int operands);
38 virtual int inst_jump(uint code, int inst, int operands);
39 virtual int inst_load(uint code, int operands);
40 virtual int inst_load_return(uint code, int operands);
41 virtual int inst_or(uint code, int operands);
42 virtual int inst_output(uint code, int operands);
43 virtual int inst_outputk(uint code, int operands);
44 virtual int inst_regbank(int regbank);
45 virtual int inst_return(uint code, int inst);
46 virtual int inst_returni(bool interrupt_enable);
47 virtual int inst_rl(uint code, int operands);
48 virtual int inst_rr(uint code, int operands);
49 virtual int inst_sl(uint code, int inst);
50 virtual int inst_sr(uint code, int inst);
51 virtual int inst_star(uint code, int operands);
52 virtual int inst_store(uint code, int operands);
53 virtual int inst_sub(uint code, int operands);
54 virtual int inst_subcy(uint code, int operands);
55 virtual int inst_test(uint code, int operands);
56 virtual int inst_testcy(uint code, int operands);
57 virtual int inst_xor(uint code, int operands);
59 /* End of pblaze.src/instcl.h */