PDA

View Full Version : LOOP exit probs, 3.5E vs 3.3


art kennedy
03-14-05, 02:06 AM
The included file is a memory dump I like better than DUMP. It gives a ASCII output in addition to the HEX. Instead of number of bytes to dump the top parameter is for number of 16 byte lines. If ?TERMINAL detects a key the dump is terminated.

The main word is DU. It works properly without DUDO which does the output lines so it looks like DUDO is causing problems (see below). This works fine with MAXFORTH 3.3 - unfortunately I'm now working on a board with 3.5E. Grr!


Problem -

The word DUDO screws up LOOP exit both by value of loop and by conditional LEAVE. Both work properly without DUDO but the stack seems to be managed properly, i.e DUDO accepts 1 stack value and returns none. This expected and is tested good. The I word is tested and returns a good loop value immediately before LOOP.

What gives.

nmitech
03-14-05, 09:55 AM
Sorry, the forum attachment does not work. Please email me at techsupport@newmicros.com. Thanks!