mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-24 02:48:07 +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...
17 lines
316 B
Plaintext
17 lines
316 B
Plaintext
3: DOES>. This word is created by "DOES>" and is followed
|
|
by a 2-byte value as well as the address where "DOES>" was
|
|
compiled. At that address is an atom list exactly like in a
|
|
compiled word. Upon execution, after having pushed its cell
|
|
addr to PSP, it executes its reference exactly like a
|
|
compiled word.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|