mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-23 15:28:04 +11:00
80d1b59050
Splitting a word into MSB/LSB pairs happens often and is worth, I think, native words. Also, I'm going to need it in the upcoming commits.
12 lines
184 B
Forth
12 lines
184 B
Forth
: (emit) 0 PC! ;
|
|
390 LOAD ( xcomp core high )
|
|
(entry) _
|
|
( Update LATEST )
|
|
PC ORG @ 8 + !
|
|
," BLK$ "
|
|
," ' EFS@ BLK@* ! "
|
|
," ' EFS! BLK!* ! "
|
|
EOT,
|
|
ORG @ |M 2 PC! 2 PC!
|
|
H@ |M 2 PC! 2 PC!
|