c8941d678fb12eabf557d312b20efa3935e17a61
[fw/sdcc] / sim / ucsim / sim.src / stack.cc
1 /*
2  * Simulator of microcontrollers (stack.cc)
3  *
4  * Copyright (C) 2000,00 Drotos Daniel, Talker Bt.
5  * 
6  * To contact author send email to drdani@mazsola.iit.uni-miskolc.hu
7  *
8  */
9
10 /* This file is part of microcontroller simulator: ucsim.
11
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.
16
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.
21
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@*/
27
28 #include "stackcl.h"
29
30
31 cl_stack_op::cl_stack_op(enum stack_op itype,
32                          t_addr iPC, t_addr iaddr, t_mem idata,
33                          t_addr iSP_before, t_addr iSP_after):
34   cl_base()
35 {
36   type= itype;
37   PC= iPC;
38   addr= iaddr;
39   data= idata;
40   SP_before= iSP_before;
41   SP_after= iSP_after;
42 }
43
44 cl_stack_op::~cl_stack_op(void)
45 {
46 }
47
48
49 /* End of sim.src/stack.cc */