mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-16 19:38:06 +11:00
eefbf66e95
When writing the xcomp documentation, I realized that with careful threading and by accepting a bit of code duplication in the xcomp toolset, I could de-stabilize a couple of words. (n) and EXIT are a bit trickier, but I think it can be done. It would be nice to get rid of stable wordrefs...
11 lines
258 B
Plaintext
11 lines
258 B
Plaintext
CODE (s) ( string literal )
|
|
( Like (n) but instead of being followed by a 2 bytes
|
|
number, it's followed by a string. When called, puts the
|
|
string's address on PS )
|
|
BC PUSH,
|
|
LDA(BC), C ADDr,
|
|
IFC, B INCr, THEN,
|
|
C A LDrr,
|
|
BC INCd,
|
|
;CODE
|