X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=reference.html;h=988e55177cc3476fd286dc94d7b0324a2893bef9;hb=0391d16ece3a9f4d7d023ae1f0be610b8a915fc3;hp=9900bbd6523455f03232be79b6944e426f725a5e;hpb=426857d112aab766d577f58982141963952e49c8;p=rrq%2Frrqforth.git diff --git a/reference.html b/reference.html index 9900bbd..988e551 100644 --- a/reference.html +++ b/reference.html @@ -801,10 +801,12 @@ asciidoc.install(); BEGIN   BREAK  

CFA>FLAGS@   +CFA>TFA   CLEAR-STREAM   CREATE   CURRENT-WORDLIST  

DECIMAL   +DEFINITIONS   DEPTH   DIGITS   /MOD   @@ -857,6 +859,7 @@ asciidoc.install();

READ-STREAM-CHAR   READ-WORD   REALLOC   +RETURN   ROLL   ROT   RSP  

@@ -871,6 +874,7 @@ asciidoc.install(); SWAP   SYSTEM  

TELL   +.TEMP   TERMINATE0   TFA>CFA   TFA>DFA   @@ -880,7 +884,8 @@ asciidoc.install(); THIS-WORD   TRUE   TUCK  

-

UNSTREAM  

+

UNSTREAM   +USE  

VERBOSE?  

WITHIN   WORDS  

@@ -1133,6 +1138,26 @@ at the current free head address, which also is incremented.

_______________________________________________________
+

+ +
+

Word: CFA>TFA

+
+
+
Data stack: ( cfa -- tfa )
+
+

"CFA>TFA" is a function word that pushes word tfa of the given cfa.

+
+
+
+
+
Definition concept for CFA>TFA
+

: CFA>TFA 14 - @ ;

+
+
+
+_______________________________________________________ +

@@ -1633,6 +1658,27 @@ _______________________________________________________
_______________________________________________________
+

+
+
+

Word: DEFINITIONS

+
+
+
Data stack: ( wordlist -- )
+
+

"DEFINITIONS" is a function word that installs the given wordlist as +the CURRENT-WORDLIST one.

+
+
+
+
+
Definition concept for DEFINITIONS
+

: DEFINITIONS CURRENT-WORDLIST ! ;

+
+
+
+_______________________________________________________ +

@@ -1848,6 +1894,23 @@ the current BASE (either DECIMAL
_______________________________________________________
+

+
+
+

Word: .TEMP

+
+
+
Data stack: ( v -- char* n )
+
+

".TEMP" is a function word that renders a cell value as an integer +using the current BASE, which is either +DECIMAL or HEX. In DECIMAL +BASE, a negative value is rendered as such with a leading +minus sign, whereas HEX BASE rendering is +unsigned.

+
+_______________________________________________________ +

@@ -2094,11 +2157,10 @@ _______________________________________________________

Word: EXIT

-
Data stack: ( -- )
+
Data stack: ( v -- )
-

"EXIT" is a function word that implements the ending of a FORTH -definition and its threading to the subsequent step of the calling -definition.

+

"EXIT" is a function word that terminates the rrqforth process +immediately with the given exit code.

_______________________________________________________
@@ -2927,6 +2989,20 @@ kernel, and the granularity is in pages, i.e. a multiple of 4 kb.

_______________________________________________________
+

+ +
+

Word: RETURN

+
+
+
Data stack: ( -- )
+
+

"RETURN" is a function word that implements the ending of a FORTH +definition and make execution return to the next step in the calling +definition.

+
+_______________________________________________________ +

compile.asm: WORD p_right_bracket,],fasm

@@ -3444,8 +3520,24 @@ at (stream* + 16) is its size.

_______________________________________________________
-

+

+ + +
+

Word: USE

+
+
+
Data value: ( wordlist -- )  Input stream: word
+
+

"USE" is a function word that looks up next word given the wordlist. +It reads next word on INPUT via READ-WORD, +then temporarily changes CURRENT-WORDLIST to +FIND the word via the given wordlist, and returns the TFA +of that word, or just 0 if the word coudn’t be found.

+
+_______________________________________________________
+

Word: VERBOSE?

@@ -3536,7 +3628,7 @@ is deepest.