mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-05 17:50:54 +11:00
9 lines
195 B
Plaintext
9 lines
195 B
Plaintext
VARIABLE ORG
|
|
: SPLITB
|
|
256 /MOD SWAP
|
|
;
|
|
: PC H@ ORG @ ;
|
|
( A, spits an assembled byte, A,, spits an assembled word
|
|
Both increase PC. To debug, change C, to .X )
|
|
: A, C, ; : A,, SPLITB A, A, ;
|