This website works better with JavaScript.
Home
Explore
lain.church
Help
Register
Sign In
izaya
/
collapseos
mirror of
https://github.com/hsoft/collapseos.git
Watch
1
Star
1
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
core: fix MOVE so it copies the right number of bytes
It copied one too much.
pull/102/head
Virgil Dupras
4 years ago
parent
058b85686f
commit
7cd9d29cd8
1 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
forth/core.fs
+ 2
- 2
forth/core.fs
View File
@@ -122,8 +122,8 @@
( a1 a2 u -- )
: MOVE
( u ) 0 DO
SWAP DUP I + @
( a2 a1 x )
SWAP DUP I +
C
@ ( a2 a1 x )
ROT SWAP OVER I + ( a1 a2 x a2 )
!
( a1 a2 )
C
! ( a1 a2 )
LOOP
;
Write
Preview
Loading…
Cancel
Save