add double cell words to the glossary

FossilOrigin-Name: 7d28d4de13488f7e8fef9a57be7ee9a63eebdbfd5fbc3d33ffa66cb102ee632b
This commit is contained in:
crc 2022-07-25 15:11:05 +00:00
parent a1c4d94dc4
commit 678a16a65a
5 changed files with 92 additions and 0 deletions

View file

@ -643,6 +643,18 @@ Temporarily remove n from the stack, execute the quotation, and then restore n t
does D: q- A: - F: -
Attach an action to the most recently created word. This is used in a manner similar to CREATE/DOES> in traditional Forth.
double:const D: nns- A: - F: -
Create a constant returning the specified double cell value.
double:fetch D: a-n A: - F: -
Fetch the double cell values stored in the double cell variable at a.
double:store D: nna- A: - F: -
Store the double cell values on the stack in the double cell variable at a.
double:var D: nns- A: - F: -
Create a variable for holding the specified double cell value.
drop D: n- A: - F: -
Discard the top value on the stack.

View file

@ -213,6 +213,10 @@ decimal D: - A: - F: -
depth D: -n A: - F: -
dip D: nq-n A: - F: -
does D: q- A: - F: -
double:const D: nns- A: - F: -
double:fetch D: a-n A: - F: -
double:store D: nna- A: - F: -
double:var D: nns- A: - F: -
drop D: n- A: - F: -
drop-pair D: nn- A: - F: -
dump-stack D: - A: - F: -

View file

@ -1586,6 +1586,34 @@
</div>
<p>Attach an action to the most recently created word. This is used in a manner similar to CREATE/DOES&gt; in traditional Forth.</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>double:const</h2>
<div style='margin-left: 1em;'><p><b>Data:</b> nns-<br>
<b>Addr:</b> -<br>
<b>Float:</b> -</p>
</div>
<p>Create a constant returning the specified double cell value.</p>
<table><tr><td><b>Class:</b> </td><td>class:word</td></tr><tr><td><b>Namespace:</b> </td><td>double</td></tr><tr><td><b>Interface Layer:</b> </td><td>all</td></tr></table><hr/>
<h2>double:fetch</h2>
<div style='margin-left: 1em;'><p><b>Data:</b> a-n<br>
<b>Addr:</b> -<br>
<b>Float:</b> -</p>
</div>
<p>Fetch the double cell values stored in the double cell variable at a.</p>
<table><tr><td><b>Class:</b> </td><td>class:word</td></tr><tr><td><b>Namespace:</b> </td><td>double</td></tr><tr><td><b>Interface Layer:</b> </td><td>all</td></tr></table><hr/>
<h2>double:store</h2>
<div style='margin-left: 1em;'><p><b>Data:</b> nna-<br>
<b>Addr:</b> -<br>
<b>Float:</b> -</p>
</div>
<p>Store the double cell values on the stack in the double cell variable at a.</p>
<table><tr><td><b>Class:</b> </td><td>class:word</td></tr><tr><td><b>Namespace:</b> </td><td>double</td></tr><tr><td><b>Interface Layer:</b> </td><td>all</td></tr></table><hr/>
<h2>double:var</h2>
<div style='margin-left: 1em;'><p><b>Data:</b> nns-<br>
<b>Addr:</b> -<br>
<b>Float:</b> -</p>
</div>
<p>Create a variable for holding the specified double cell value.</p>
<table><tr><td><b>Class:</b> </td><td>class:word</td></tr><tr><td><b>Namespace:</b> </td><td>double</td></tr><tr><td><b>Interface Layer:</b> </td><td>all</td></tr></table><hr/>
<h2>drop</h2>
<div style='margin-left: 1em;'><p><b>Data:</b> n-<br>
<b>Addr:</b> -<br>

View file

@ -2460,6 +2460,50 @@ Attach an action to the most recently created word. This is used in a manner sim
Class: class:word | Namespace: global | Interface Layer: all
------------------------------------------------------------------------
double:const
Data: nns-
Addr: -
Float: -
Create a constant returning the specified double cell value.
Class: class:word | Namespace: double | Interface Layer: all
------------------------------------------------------------------------
double:fetch
Data: a-n
Addr: -
Float: -
Fetch the double cell values stored in the double cell variable at a.
Class: class:word | Namespace: double | Interface Layer: all
------------------------------------------------------------------------
double:store
Data: nna-
Addr: -
Float: -
Store the double cell values on the stack in the double cell variable at a.
Class: class:word | Namespace: double | Interface Layer: all
------------------------------------------------------------------------
double:var
Data: nns-
Addr: -
Float: -
Create a variable for holding the specified double cell value.
Class: class:word | Namespace: double | Interface Layer: all
------------------------------------------------------------------------
drop
Data: n-

View file

@ -213,6 +213,10 @@ decimal - - - Set `Base` to decimal. class:word {n/a} {n/a} a all
depth -n - - Return the number of items on the stack. class:word {n/a} {n/a} global all
dip nq-n - - Temporarily remove n from the stack, execute the quotation, and then restore n to the stack. class:word {n/a} {n/a} global all
does q- - - Attach an action to the most recently created word. This is used in a manner similar to CREATE/DOES> in traditional Forth. class:word {n/a} {n/a} global all
double:const nns- - - Create a constant returning the specified double cell value. class:word {n/a} {n/a} double all
double:fetch a-n - - Fetch the double cell values stored in the double cell variable at a. class:word {n/a} {n/a} double all
double:store nna- - - Store the double cell values on the stack in the double cell variable at a. class:word {n/a} {n/a} double all
double:var nns- - - Create a variable for holding the specified double cell value. class:word {n/a} {n/a} double all
drop n- - - Discard the top value on the stack. class:primitive {n/a} {n/a} global all
drop-pair nn- - - Remove top two items on the stack. class:word {n/a} {n/a} global all
dump-stack - - - Display the items on the data stack. class:word {n/a} {n/a} global all

1 $ -c - - Return ASCII:NUL (0). class:macro {n/a} {n/a} global all
213 depth -n - - Return the number of items on the stack. class:word {n/a} {n/a} global all
214 dip nq-n - - Temporarily remove n from the stack, execute the quotation, and then restore n to the stack. class:word {n/a} {n/a} global all
215 does q- - - Attach an action to the most recently created word. This is used in a manner similar to CREATE/DOES> in traditional Forth. class:word {n/a} {n/a} global all
216 double:const nns- - - Create a constant returning the specified double cell value. class:word {n/a} {n/a} double all
217 double:fetch a-n - - Fetch the double cell values stored in the double cell variable at a. class:word {n/a} {n/a} double all
218 double:store nna- - - Store the double cell values on the stack in the double cell variable at a. class:word {n/a} {n/a} double all
219 double:var nns- - - Create a variable for holding the specified double cell value. class:word {n/a} {n/a} double all
220 drop n- - - Discard the top value on the stack. class:primitive {n/a} {n/a} global all
221 drop-pair nn- - - Remove top two items on the stack. class:word {n/a} {n/a} global all
222 dump-stack - - - Display the items on the data stack. class:word {n/a} {n/a} global all