version 1.95, 2001/12/24 14:09:06
|
version 1.96, 2001/12/27 16:29:28
|
Line 1045 are given.
|
Line 1045 are given.
|
|
|
In addition to the @file{gforth} engine, there is also an engine called |
In addition to the @file{gforth} engine, there is also an engine called |
@file{gforth-fast}, which is faster, but gives less informative error |
@file{gforth-fast}, which is faster, but gives less informative error |
messages (@pxref{Error messages}). You should use it for debugged, |
messages (@pxref{Error messages}) and may catch fewer stack underflows. |
performance-critical programs. |
You should use it for debugged, performance-critical programs. |
|
|
In general, the command line looks like this: |
In general, the command line looks like this: |
|
|
Line 11829 do this is to jump to @code{' noop >code
|
Line 11829 do this is to jump to @code{' noop >code
|
less efficient than integrating the @code{next} code and scheduling it |
less efficient than integrating the @code{next} code and scheduling it |
well). |
well). |
|
|
|
Another difference between Gforth version is that the top of stack is |
|
kept in memory in @code{gforth} and, on most platforms, in a register in |
|
@code{gforth-fast}. |
|
|
@node Common Disassembler, 386 Assembler, Common Assembler, Assembler and Code Words |
@node Common Disassembler, 386 Assembler, Common Assembler, Assembler and Code Words |
@subsection Common Disassembler |
@subsection Common Disassembler |
|
|
Line 12232 case.
|
Line 12236 case.
|
@code{Gforth} is able to do a return stack dump for throws generated |
@code{Gforth} is able to do a return stack dump for throws generated |
from primitives (e.g., invalid memory address, stack empty etc.); |
from primitives (e.g., invalid memory address, stack empty etc.); |
@code{gforth-fast} is only able to do a return stack dump from a |
@code{gforth-fast} is only able to do a return stack dump from a |
directly called @code{throw} (including @code{abort} etc.). This is the |
directly called @code{throw} (including @code{abort} etc.). Given an |
only difference (apart from a speed factor of between 1.15 (K6-2) and |
|
2 (21264)) between @code{gforth} and @code{gforth-fast}. Given an |
|
exception caused by a primitive in @code{gforth-fast}, you will |
exception caused by a primitive in @code{gforth-fast}, you will |
typically see no return stack dump at all; however, if the exception is |
typically see no return stack dump at all; however, if the exception is |
caught by @code{catch} (e.g., for restoring some state), and then |
caught by @code{catch} (e.g., for restoring some state), and then |