mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-25 18:48:09 +11:00
3d2dc041fb
Instead of having wordref point to core word routines, I made them into word 4 word types. It liberates space into the stable ABI and should make porting to other arches easier. I'm also thinking of combining word type with the namelen field for precious bytes saving, but not now...
15 lines
297 B
Plaintext
15 lines
297 B
Plaintext
: JPccnn, SWAP <<3 0xc2 OR A, A,, ;
|
|
: BCALL, BIN( @ + CALLnn, ;
|
|
: BJP, BIN( @ + JPnn, ;
|
|
: BJPcc, BIN( @ + JPccnn, ;
|
|
|
|
: JPNEXT, 26 BJP, ; ( 26 == next )
|
|
|
|
: chkPS, L4 @ CALLnn, ; ( chkPS, B305 )
|
|
|
|
: CODE ( same as CREATE, but with native word )
|
|
(entry) 0 C, ( 0 == native ) ;
|
|
: ;CODE JPNEXT, ;
|
|
|
|
|