version 1.92, 2006/10/22 16:54:01
|
version 1.95, 2006/12/31 13:39:17
|
Line 1
|
Line 1
|
/* Gforth virtual machine (aka inner interpreter) |
/* Gforth virtual machine (aka inner interpreter) |
|
|
Copyright (C) 1995,1996,1997,1998,2000,2003,2004,2005 Free Software Foundation, Inc. |
Copyright (C) 1995,1996,1997,1998,2000,2003,2004,2005,2006 Free Software Foundation, Inc. |
|
|
This file is part of Gforth. |
This file is part of Gforth. |
|
|
Line 97 extern int gforth_memcmp(const char * s1
|
Line 97 extern int gforth_memcmp(const char * s1
|
#endif |
#endif |
|
|
#define NEWLINE '\n' |
#define NEWLINE '\n' |
#define CELL_MIN (((Cell)1)<<(sizeof(Cell)*CHAR_BIT-1)) |
|
/* set CHECK_DIVISION to 0 if the hardware checks division by zero and |
/* These two flags control whether divisions are checked by software. |
division overflow. Note that not all checks are controlled by |
The CHECK_DIVISION_SW is for those cases where the event is a |
CHECK_DIVISION, in particular not overflow checks in mixed-size |
division by zero or overflow on the C level, and might be reported |
words implemented by C's double-by-double division, because that |
by hardware; we might check forr that in autoconf and set the |
division does not signal such overflows. !! make an autoconf test |
switch appropriately, but currently don't. The CHECK_DIVISION flag |
that sets CHECK_DIVISION */ |
is for the other cases. */ |
|
#ifdef GFORTH_DEBUGGING |
|
#define CHECK_DIVISION_SW 1 |
#define CHECK_DIVISION 1 |
#define CHECK_DIVISION 1 |
|
#else |
|
#define CHECK_DIVISION_SW 0 |
|
#define CHECK_DIVISION 0 |
|
#endif |
|
|
/* conversion on fetch */ |
/* conversion on fetch */ |
|
|