mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-13 10:58:05 +11:00
d83d12899b
This commit adds ?DUP IF guards to MOVE and MOVE- that make them exit when u is 0. Without these guards a DO loop was executed 65535 times instead of 0. In particular, this fixes a crash when "105 LOAD I " is executed immediately after boot. Block editor word "I" passes IBUF length (0) to MOVE- and MOVE in this case, causing a crash.
6.0 KiB
6.0 KiB