summaryrefslogtreecommitdiff
path: root/sim/tic80/alu.h
diff options
context:
space:
mode:
Diffstat (limited to 'sim/tic80/alu.h')
-rw-r--r--sim/tic80/alu.h34
1 files changed, 32 insertions, 2 deletions
diff --git a/sim/tic80/alu.h b/sim/tic80/alu.h
index 7312f60fe2b..3a325e14612 100644
--- a/sim/tic80/alu.h
+++ b/sim/tic80/alu.h
@@ -1,10 +1,30 @@
+/* Texas Instruments TMS320C80 (MVP) Simulator.
+ Copyright (C) 1997 Free Software Foundation, Inc.
+ Contributed by Cygnus Support.
+
+This file is part of GDB, the GNU debugger.
+
+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, or (at your option)
+any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program; if not, write to the Free Software Foundation, Inc.,
+59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+
+
+
#ifndef _TIC80_ALU_H_
#define _TIC80_ALU_H_
#define ALU_CARRY 0 /* FIXME */
-#include "sim-alu.h"
-
#define ALU32_END(TARG) \
{ \
(TARG) = (unsigned32)alu_carry_val; /* FIXME */ \
@@ -12,6 +32,9 @@
#define ALU_END(TARG) ALU32_END(TARG)
+#include "sim-alu.h"
+
+
/* Bring data in from the cold */
@@ -37,4 +60,11 @@ do { \
nia.ip += sizeof (instruction_word); \
nia.dp += sizeof (instruction_word);
+
+
+/* Floating point support */
+
+#include "sim-fpu.h"
+
+
#endif