add glossary data for mem:fetch-double, mem:cell+

FossilOrigin-Name: b85b15f2ca40e144cce46b08f020076140f63c623570e70dc4d4ab45315cf570
This commit is contained in:
crc 2022-08-22 09:45:48 +00:00
parent dd742823b2
commit 9f45486425
5 changed files with 46 additions and 0 deletions

View file

@ -1075,6 +1075,12 @@ Compare n1 and n2. Return `TRUE` if n1 is less than n2, or `FALSE` otherwise.
lteq? D: nn-f A: - F: -
Compare n1 and n2. Return `TRUE` if n1 is less than or equal to n2, or `FALSE` otherwise.
mem:cell+ D: nnn-n A: - F: -
Return address of next cell. Uses a double cell pointer on the stack.
mem:fetch-double D: nn-n A: - F: -
Fetch a double cell value from a malloc memory region.
mod D: nm-o A: - F: -
Divide `n` by `m` and return the remainder.

View file

@ -357,6 +357,8 @@ io:unix-syscall D: ...n- A: - F: -
listen D: - A: - F: -
lt? D: nn-f A: - F: -
lteq? D: nn-f A: - F: -
mem:cell+ D: nnn-n A: - F: -
mem:fetch-double D: nn-n A: - F: -
mod D: nm-o A: - F: -
n:-zero? D: n-f A: - F: -
n:MAX D: -n A: - F: -

View file

@ -2677,6 +2677,20 @@
</div>
<p>Compare n1 and n2. Return `TRUE` if n1 is less than or equal to n2, or `FALSE` otherwise.</p>
<table><tr><td><b>Class:</b> </td><td>class:word</td></tr><tr><td><b>Namespace:</b> </td><td>global</td></tr><tr><td><b>Interface Layer:</b> </td><td>all</td></tr></table><hr/>
<h2>mem:cell+</h2>
<div style='margin-left: 1em;'><p><b>Data:</b> nnn-n<br>
<b>Addr:</b> -<br>
<b>Float:</b> -</p>
</div>
<p>Return address of next cell. Uses a double cell pointer on the stack.</p>
<table><tr><td><b>Class:</b> </td><td>class:word</td></tr><tr><td><b>Namespace:</b> </td><td>mem</td></tr><tr><td><b>Interface Layer:</b> </td><td>rre</td></tr></table><hr/>
<h2>mem:fetch-double</h2>
<div style='margin-left: 1em;'><p><b>Data:</b> nn-n<br>
<b>Addr:</b> -<br>
<b>Float:</b> -</p>
</div>
<p>Fetch a double cell value from a malloc memory region.</p>
<table><tr><td><b>Class:</b> </td><td>class:word</td></tr><tr><td><b>Namespace:</b> </td><td>mem</td></tr><tr><td><b>Interface Layer:</b> </td><td>rre</td></tr></table><hr/>
<h2>mod</h2>
<div style='margin-left: 1em;'><p><b>Data:</b> nm-o<br>
<b>Addr:</b> -<br>

View file

@ -4146,6 +4146,28 @@ Compare n1 and n2. Return `TRUE` if n1 is less than or equal to n2, or `FALSE` o
Class: class:word | Namespace: global | Interface Layer: all
------------------------------------------------------------------------
mem:cell+
Data: nnn-n
Addr: -
Float: -
Return address of next cell. Uses a double cell pointer on the stack.
Class: class:word | Namespace: mem | Interface Layer: rre
------------------------------------------------------------------------
mem:fetch-double
Data: nn-n
Addr: -
Float: -
Fetch a double cell value from a malloc memory region.
Class: class:word | Namespace: mem | Interface Layer: rre
------------------------------------------------------------------------
mod
Data: nm-o

View file

@ -357,6 +357,8 @@ io:unix-syscall ...n- - - Trigger a Unix system call. This is not intended to be
listen - - - "Run interactive ""listener"" (a REPL)." class:word {n/a} {n/a} global rre
lt? nn-f - - Compare n1 and n2. Return `TRUE` if n1 is less than n2, or `FALSE` otherwise. class:primitive {n/a} {n/a} global all
lteq? nn-f - - Compare n1 and n2. Return `TRUE` if n1 is less than or equal to n2, or `FALSE` otherwise. class:word {n/a} {n/a} global all
mem:cell+ nnn-n - - Return address of next cell. Uses a double cell pointer on the stack. class:word {n/a} {n/a} mem rre
mem:fetch-double nn-n - - Fetch a double cell value from a malloc memory region. class:word {n/a} {n/a} mem rre
mod nm-o - - Divide `n` by `m` and return the remainder. class:word {n/a} {n/a} global all
n:-zero? n-f - - Return `TRUE` if number is not zero, or `FALSE` otherwise. class:word {n/a} {n/a} n all
n:MAX -n - - Return the maximum value that will fit in a cell. class:word {n/a} {n/a} n all

1 $ -c - - Return ASCII:NUL (0). class:macro {n/a} {n/a} global all
357 listen - - - Run interactive "listener" (a REPL). class:word {n/a} {n/a} global rre
358 lt? nn-f - - Compare n1 and n2. Return `TRUE` if n1 is less than n2, or `FALSE` otherwise. class:primitive {n/a} {n/a} global all
359 lteq? nn-f - - Compare n1 and n2. Return `TRUE` if n1 is less than or equal to n2, or `FALSE` otherwise. class:word {n/a} {n/a} global all
360 mem:cell+ nnn-n - - Return address of next cell. Uses a double cell pointer on the stack. class:word {n/a} {n/a} mem rre
361 mem:fetch-double nn-n - - Fetch a double cell value from a malloc memory region. class:word {n/a} {n/a} mem rre
362 mod nm-o - - Divide `n` by `m` and return the remainder. class:word {n/a} {n/a} global all
363 n:-zero? n-f - - Return `TRUE` if number is not zero, or `FALSE` otherwise. class:word {n/a} {n/a} n all
364 n:MAX -n - - Return the maximum value that will fit in a cell. class:word {n/a} {n/a} n all