X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;ds=sidebyside;f=reference.html;h=9137d075cfd0bd68e35fda305d8050d21cc8f636;hb=433a6cc4e7fccb418345a78de099a4e15891abcf;hp=7da9aa85489a9ae3834c2a452e98f543ff1622cd;hpb=53f50810894e81457a75348b0565b4281d4762b4;p=rrq%2Frrqforth.git diff --git a/reference.html b/reference.html index 7da9aa8..9137d07 100644 --- a/reference.html +++ b/reference.html @@ -851,7 +851,9 @@ asciidoc.install(); LOAD-BUFFER-SIZE   LOAD-FILE  

MAIN-ARGS   -MALLOC  

+MALLOC   +MIN   +MAX  

NEGATE   NIP   NL   @@ -886,7 +888,9 @@ asciidoc.install();

TELL   .TEMP   TEMP   +TEMPHELD   TEMPSPACE   +TEMPUSED   TERMINATE0   TFA>CFA   TFA>DFA   @@ -2771,6 +2775,32 @@ page" of mmap for details.

_______________________________________________________
+

+
+
+

Word: MAX

+
+
+
Data stack: ( v1 v2 -- v3 )
+
+

"MAX" is a function word that selects the greatest of v1 and v2. To +that end, the values are 64-bit signed integers.

+
+_______________________________________________________ +
+

+
+
+

Word: MIN

+
+
+
Data stack: ( v1 v2 -- v3 )
+
+

"MIN" is a function word that selects the least of v1 and v2. To that +end, the values are 64-bit signed integers.

+
+_______________________________________________________ +

@@ -3523,6 +3553,22 @@ small and short-lived data areas.

_______________________________________________________
+

+ +
+

Word: TEMPHELD

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

"TEMPHELD" is a variable word that keeps the lowest offset of the +TEMPSPACE space to reuse upon cycling. The space +below TEMPHELD is "held" in the sense of not being reused upon +cycling. An application may change the TEMPSPACE offset as needed to +dynamically preserve memory longer term.

+
+_______________________________________________________ +

@@ -3556,6 +3602,22 @@ overlapping a prior request.

_______________________________________________________
+

+ +
+

Word: TEMPUSED

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

"TEMPUSED" is a variable word that keeps the lowest offset of the +TEMPSPACE space to use next as temporary space. This +is advance upon each allocation via TEMP, and recycled back +to TEMPHELD when next allocation otherwise would exceed +the space size.

+
+_______________________________________________________ +

@@ -3863,7 +3925,7 @@ is deepest.