FORTH Glossary of Words for eForth PICO

Filtrage / Filtering
All words / Tous les mots
- ! ( n addr -- ) ANSI voc: forth
- Store n to address.
...see more... - # ( d1 -- d2 ) ANSI voc: forth
- Perform a division modulo the current numeric base and transform the rest of the division into a string of characters. The character is dropped in the buffer set to running
<#
...see more... - #! ( -- ) voc: forth
- Behaves like
\
...see more... - #> ( n -- addr len ) ANSI voc: forth
- Drop n. Make the pictured numeric output string available as a character string. addr and len specify the resulting character string.
...see more... - #f+s ( r:r ) voc: internals
- Converts a real number into a character string. Used by
#fs
- #FS ( r -- ) voc: forth
- Converts a real number to a string. Used by
f.
- #s ( d1 -- d=0 ) ANSI voc: forth
- Converts the rest of d1 to a string in the character string initiated by
<#
.
...see more... - #tib ( -- n ) ANSI voc: forth
- Number of characters received in terminal input buffer.
- ' ( exec: <space>name -- xt ) ANSI voc: forth
- Skip leading space delimiters. Parse name delimited by a space. Find name and return xt, the execution token for name.
When interpreting,' xyz EXECUTE
is equivalent toxyz
.
...see more... - 'notfound ( -- addr ) voc: internals
- Execution token of a handler to call on word not found
- 'sys ( -- addr ) voc: internals
- Base address for system variables.
- 'tib ( -- addr ) voc: forth
- Pointer to Terminal Input Buffer.
- (+to) ( xt -- ) voc: internals
+to
part for local variables.- (local) ( a n -- ) voc: forth
- Word used to manage the creation of local variables.
- (to) ( xt -- ) voc: internals
to
part for local variables.- * ( n1 n2 -- n3 ) ANSI voc: forth
- Integer multiplication of two numbers.
...see more... - */ ( n1 n2 n3 -- n4 ) ANSI voc: forth
- Multiply n1 by n2 producing the intermediate double-cell result d. Divide d by n3 giving the single-cell quotient n4.
...see more... - */MOD ( n1 n2 n3 -- n4 n5 ) voc: forth
- Multiply n1 by n2 producing the intermediate double-cell result d. Divide d by n3 producing the single-cell remainder n4 and the single-cell quotient n5.
...see more... - + ( n1 n2 -- n3 ) ANSI voc: forth
- Leave sum of n1 n2 on stack.
...see more... - +! ( n addr -- ) voc: forth
- Increments the contents of the memory address pointed to by addr.
...see more... - +loop ( n -- ) ANSI voc: forth
- Increment index loop with value n.
Mark the end of a loopn1 0 do ... n2 +loop
.
...see more... - +to ( n --- <valname> ) voc: forth
- add n to the content of valname
...see more... - , ( x -- ) ANSI voc: forth
- Append x to the current data section.
- - ( n1 n2 -- n1-n2 ) ANSI voc: forth
- Subtract two integers.
...see more... - -rot ( n1 n2 n3 -- n3 n1 n2 ) voc: forth
- Inverse stack rotation. Same action than
rot rot
- . ( n -- ) ANSI voc: forth
- Remove the value at the top of the stack and display it as a signed single precision integer.
...see more... - ." ( -- <string> ) ANSI voc: forth
- The word
."
can only be used in a compiled definition.
At runtime, it displays the text between this word and the delimiting " character end of string.
...see more... - .s ( -- ) voc: forth
- Displays the content of the data stack, with no action on the content of this stack.
...see more... - .tasks ( -- ) voc: tasks
- Display list active tasks.
...see more... - / ( n1 n2 -- n3 ) ANSI voc: forth
- Divide n1 by n2, giving the single-cell quotient n3.
...see more... - /mod ( n1 n2 -- n3 n4 ) ANSI voc: forth
- Divide n1 by n2, giving the single-cell remainder n3 and the single-cell quotient n4.
...see more... - 0< ( x1 --- fl ) ANSI voc: forth
- Test if x1 is less than zero.
...see more... - 0<> ( n -- fl ) voc: forth
- Leave -1 if n <> 0
...see more... - 0= ( x -- fl ) ANSI voc: forth
- flag is true if and only if x is equal to zero.
...see more... - 1+ ( n -- n+1 ) ANSI voc: forth
- Increments the value at the top of the stack.
...see more... - 1- ( n -- n-1 ) ANSI voc: forth
- Decrements the value at the top of the stack.
- 1/F ( r -- r' ) voc: forth
- Performs a 1/r operation.
...see more... - 2! ( d addr -- ) ANSI voc: forth
- Store double precision value in memory address addr.
- 2* ( n -- n*2 ) ANSI voc: forth
- Multiply n by two.
...see more... - 2/ ( n -- n/2 ) ANSI voc: forth
- Divide n by two.
...see more... - 2@ ( addr -- d ) ANSI voc: forth
- Leave on stack double precision value d stored at address addr.
- 2drop ( n1 n2 n3 n4 -- n1 n2 ) ANSI voc: forth
- Removes the double-precision value from the top of the data stack.
...see more... - 2dup ( n1 n2 -- n1 n2 n1 n2 ) ANSI voc: forth
- Duplicates the double precision value n1 n2.
...see more... - 4* ( n -- n*4 ) voc: forth
- Multiply n by four.
...see more... - 4/ ( n -- n/4 ) voc: forth
- Divide n by four.
...see more... - : ( comp: -- <word> | exec: -- ) ANSI voc: forth
- Skip leading space delimiters. Parse name delimited by a space. Create a definition for name, called a "colon definition". Enter compilation state and start the current definition.
...see more... - :noname ( -- cfa-addr ) ANSI voc: forth
- Define headerless forth code. cfa-addr is the code execution of a definition.
...see more... - ; ( -- ) voc: forth
- Immediate execution word usually ending the compilation of a "colon" definition.
...see more... - < ( n1 n2 -- fl ) ANSI voc: forth
- Leave fl true if n1 < n2
...see more... - <# ( n -- ) ANSI voc: forth
- Marks the start of converting a integer number to a string of characters.
...see more... - <= ( n1 n2 -- fl ) voc: forth
- Leave fl true if n1 <= n2
...see more... - <> ( x1 x2 -- fl ) ANSI voc: forth
- flag is true if and only if x1 is different x2.
...see more... - = ( n1 n2 -- fl ) ANSI voc: forth
- Leave fl true if n1 = n2
...see more... - > ( x1 x2 -- fl ) ANSI voc: forth
- Test if x1 is greater than x2.
- >= ( x1 x2 -- fl ) voc: forth
- flag is true if and only if x1 is equal x2.
...see more... - >body ( cfa -- pfa ) ANSI voc: forth
- pfa is the data-field address corresponding to cfa.
- >flags ( xt -- flags ) voc: forth
- Convert cfa address to flags address.
- >in ( -- addr ) ANSI voc: forth
- Number of characters consumed from TIB
...see more... - >link ( cfa -- cfa2 ) voc: forth
- Converts the cfa address of the current word into the cfa address of the word previously defined in the dictionary.
...see more... - >link& ( cfa -- lfa ) voc: forth
- Transforms the execution address of the current word into the link address of this word. This link address points to the cfa of the word defined before this word.
Used by>link
- >name ( cfa -- nfa len ) voc: forth
- finds the name field address of a token from its code field address.
...see more... - >name-length ( cfa -- n ) voc: forth
- Transforms a cfa address into the length of the word name of this cfa address. Word used by
vlist
- >r ( S: n -- R: n ) voc: forth
- Transfers n to the return stack.
This operation must always be balanced withr>
...see more... - >stream ( addr len stream -- ) voc: streams
- Store a string characters in a stream.
...see more... - ? ( addr -- c ) voc: forth
- Displays the content of any variable or address.
...see more... - ?do ( n1 n2 -- ) voc: forth
- Executes a
do loop
ordo +loop
loop if n1 is strictly greater than n2.
...see more... - ?dup ( n -- n | n n ) voc: forth
- Duplicate n if n is not nul.
...see more... - @ ( addr -- n ) ANSI voc: forth
- Retrieves the integer value n stored at address addr.
...see more... - abort ( -- ) voc: forth
- Raises an exception and interrupts the execution of the word and returns control to the interpreter.
-
abort" ( comp: --
) ANSI voc: forth - Displays an error message and aborts any FORTH execution in progress.
...see more... - abs ( n -- n' ) voc: forth
- Return the absolute value of n.
...see more... - accept ( addr n -- n ) ANSI voc: forth
- Accepts n characters from the keyboard (serial port) and stores them in the memory area pointed to by addr.
...see more... - adc_fifo_drain ( -- ) voc: pico
- Drain FIFO.
...see more... - adc_fifo_get ( -- n ) voc: pico
- Get ADC result from FIFO.
- adc_fifo_get_blocking ( -- n ) voc: pico
- Wait for ADC to have data.
- adc_fifo_get_level ( -- n ) voc: pico
- Get number ADC FIFO entries.
...see more... - adc_fifo_is_empty ( -- f ) voc: pico
- Check FIFO empty state.
- adc_fifo_setup ( en dreq_en dreq_thresh err_in_fifo byte_shift -- ) voc: pico
- Setup ADC FIFO.
...see more... - adc_get_selected_input ( -- n ) voc: pico
- Get selected ADC input.
- adc_gpio_init ( gpio -- ) voc: pico
- Init GPIO for use as ADC.
...see more... - adc_init ( -- ) voc: pico
- Initialize HW ADC.
- adc_irq_set_enabled ( f -- ) voc: pico
- Enable/disable ADC interrupts.
- adc_read ( -- u ) voc: pico
- Perform a single conversion.
- adc_run ( f -- ) voc: pico
- Enable/disable free-running sample mode.
- adc_select_input ( n -- ) voc: pico
- Select ADC input.
...see more... - adc_set_clkdiv ( f: clkdiv -- ) voc: forth
- Set ADC clock divisor.
- adc_set_round_robin ( mask -- ) voc: pico
- Round robin sampler selector.
...see more... - adc_set_temp_sensor_enabled ( f -- ) voc: pico
- Enable/disable onboard temperature sensor.
...see more... - afliteral ( r:r -- ) voc: forth
- Compiles a real number. Used by
fliteral
- aft ( -- ) voc: forth
- Jump to THEN in FOR-AFT-THEN-NEXT loop 1st time through.
...see more... - again ( -- ) ANSI voc: forth
- Mark the end on an infinit loop of type
begin ... again
...see more... - align ( -- ) ANSI voc: forth
- Align the current data section dictionary pointer to cell boundary.
- aligned ( addr1 -- addr2 ) ANSI voc: forth
- addr2 is the first aligned address greater than or equal to addr1.
- allot ( n -- ) ANSI voc: forth
- Reserve n address units of data space.
...see more... - also ( -- ) voc: forth
- Duplicate the vocabulary at the top of the vocabulary stack.
- AND ( n1 n2 --- n3 ) ANSI voc: forth
- Execute logic AND.
...see more... - ansi ( -- ) voc: forth
- Selects the
ansi
vocabulary.
...see more... - argc ( -- n ) voc: forth
- Push content of
'argc
on stack - ARSHIFT ( x1 u -- x2 ) voc: forth
- Arithmetic right shift of u
- asm ( -- ) voc: forth
- Select
asm
vocabulary
...see more... - assert ( fl -- ) voc: forth
- For tests and asserts.
- base ( -- addr ) ANSI voc: forth
- Single precision variable determining the current numerical base.
TheBASE
variable contains the value 10 (decimal) when FORTH starts.
...see more... - begin ( -- ) ANSI voc: forth
- Mark start of a structure
begin..until
,begin..again
orbegin..while..repeat
...see more... - BIN ( mode -- mode' ) voc: forth
- Modify a file-access method to include BINARY.
- BINARY ( -- ) voc: forth
- Select binary base.
...see more... - bl ( -- 32 ) ANSI voc: forth
- Value 32 on stack.
...see more... - blank ( addr len -- ) voc: forth
- If len is greater than zero, store byte $20 (space) in each of len consecutive characters of memory beginning at addr.
- block ( n -- addr ) voc: forth
- Get addr 1024 byte for block n.
...see more... - block-data ( -- addr ) voc: internals
- Buffer area of 1024 bytes. Used by
editor
. - block-dirty ( -- n ) voc: internals
- Serves as a flag to indicate if the current block has been modified.
- block-fid ( -- n ) voc: forth
- Flag indicating the state of a block file.
- block-id ( -- n ) voc: forth
- Pointer to a block file.
- BRANCH ( -- ) voc: internals
- Branch to the address following BRANCH. BRANCH is compiled by AFT, ELSE, REPEAT and AGAIN.
- buffer ( n - addr ) voc: forth
- Get a 1024 byte block without regard to old contents.
- bye ( -- ) voc: forth
- Stop eForth.
- c! ( c addr -- ) ANSI voc: forth
- Stores an 8-bit c value at address addr.
- c, ( c -- ) ANSI voc: forth
- Append c to the current data section.
...see more... - c@ ( addr -- c ) ANSI voc: forth
- Retrieves the 8-bit c value stored at address addr.
...see more... - callot ( n -- ) voc: asm
- increments the
code-at
pointer by n bytes. - CASE ( -- ) voc: forth
-
...see more... - cat ( -- <path> ) voc: forth
- Display the file content.
...see more... - catch ( cfa -- fl ) voc: forth
- Initializes an action to perform in the event of an exception triggered by
throw
. - cell ( -- 8 ) voc: forth
- Return number of bytes for integer number.
- cell+ ( n -- n' ) ANSI voc: forth
- Increment n with the value of
CELL
.
...see more... - cell/ ( n -- n' ) voc: forth
- Divide
CELL
content. - cells ( n -- n' ) ANSI voc: forth
- Multiply
CELL
content.
...see more... - ch>stream ( c stream -- ) voc: streams
- add character c to a stream.
...see more... - char ( -- <string> ) ANSI voc: forth
- Word used in interpretation only.
Leave the first character of the string following this word.
...see more... - chere ( -- addr ) voc: asm
- Stacks the assembly pointer address.
- CLOSE-FILE ( fileid -- ior ) voc: forth
- Close an open file.
- cmove ( c-addr1 c-addr2 u -- ) voc: forth
- If u is greater than zero, copy u consecutive characters from the data space starting at c-addr1 to that starting at c-addr2, proceeding character-by-character from lower addresses to higher addresses.
- code-at ( -- addr ) voc: asm
- Variable pointing to a code progress area.
- code-start ( -- addr ) voc: asm
- Variable pointing to a code start area.
- constant ( comp: n -- <name> | exec: -- n ) ANSI voc: forth
- Define a constant.
...see more... - context ( -- addr ) voc: forth
- Pointer to pointer to last word of context vocabulary
- cr ( -- ) ANSI voc: forth
- Show a new line return.
...see more... - CREATE ( comp: -- <name> | exec: -- addr ) ANSI voc: forth
- The word
CREATE
can be used alone.
...see more... - CREATE-FILE ( a n mode -- fh ior ) ANSI voc: forth
- Create a file on disk, returning a 0 ior for success and a file id.
- current ( -- cfa ) voc: forth
- Pointer to pointer to last word of current vocabulary
...see more... - DECIMAL ( -- ) ANSI voc: forth
- Selects the decimal number base. It is the default digital base when FORTH starts.
...see more... - default-key ( -- c ) voc: forth
- Execute
serial-key
. - default-key? ( -- fl ) voc: forth
- Execute
serial-key?
. - default-type ( addr len -- ) voc: forth
- Execute
serial-type
. - default-use ( -- ) voc: internals
- Runs
common-default-use
by default. - defer ( -- <vec-name> ) voc: forth
- Define a deferred execution vector.
vec-name
execute the word whose execution token is stored in vec-name's data space.
...see more... - DEFINED? ( -- <word> ) voc: forth
- Returns a non-zero value if the word is defined. Otherwise returns 0.
...see more... - definitions ( -- ) voc: forth
- Make the compilation word list the same as the first word list in the search order. Specifies that the names of subsequent definitions will be placed in the compilation word list. Subsequent changes in the search order will not affect the compilation word list.
...see more... - depth ( -- n ) ANSI voc: forth
- n is the number of single-cell values contained in the data stack before n was placed on the stack.
...see more... - digit ( n -- c ) voc: internals
- Convert a digit to ascii character.
...see more... - do ( n1 n2 -- ) ANSI voc: forth
- Set up loop control parameters with index n2 and limit n1.
...see more... - DOES> ( comp: -- | exec: -- addr ) ANSI voc: forth
- The word
CREATE
can be used in a new word creation word...
Associated withDOES>
, we can define words that say how a word is created then executed. - DOFLIT ( -- ) voc: internals
- Puts a float from the next cell onto float stack.
- DOLIT ( -- n ) voc: internals
- Push the next token onto the data stack as an integer literal. It allows numbers to be compiled as in-line literals, supplying data to the data stack at run time.
- DONEXT ( -- ) voc: internals
- Terminate a FOR-NEXT loop. The loop count was pushed on return stack, and is decremented by DONEXT. If the count is not negative, jump to the address following DONEXT; otherwise, pop the count off return stack and exit the loop. DONEXT is compiled by NEXT.
- drop ( n -- ) ANSI voc: forth
- Removes the single-precision integer that was there from the top of the data stack.
...see more... - dump ( a n -- ) voc: forth
- Dump a memory region
...see more... - dump-file ( addr len addr2 len2 -- ) voc: forth
- Transfers the contents of a text string addr len to a file pointed by addr2 len2
- dup ( n -- n n ) ANSI voc: forth
- Duplicates the single-precision integer at the top of the data stack.
...see more... - echo ( -- addr ) voc: forth
- Variable.
- editor ( -- ) voc: forth
- Select
editor
.
...see more... - else ( -- ) ANSI voc: forth
- Word of immediate execution and used in compilation only. Mark a alternative in a control structure of the type
IF ... ELSE ... THEN
...see more... - emit ( x -- ) ANSI voc: forth
- If x is a graphic character in the implementation-defined character set, display x.
The effect ofEMIT
for all other values of x is implementation-defined.
...see more... - empty-buffers ( -- ) voc: forth
- Empty all buffers.
- empty? ( -- fl ) voc: streams
- Push -1 if stream is empty, otherwise push 0.
- ENDCASE ( -- ) voc: forth
- Marks the end of a
CASE OF ENDOF ENDCASE
structure
...see more... - ENDOF ( -- ) voc: forth
- Marks the end of a
OF .. ENDOF
choice in the control structure betweenCASE ENDCASE
.
...see more... - erase ( addr len -- ) ANSI voc: forth
- If len is greater than zero, store byte $00 in each of len consecutive characters of memory beginning at addr.
- evaluate ( addr len -- ) ANSI voc: forth
- Evaluate the content of a string.
...see more... - EXECUTE ( addr -- ) ANSI voc: forth
- Execute word at addr.
...see more... - exit ( -- ) ANSI voc: forth
- Aborts the execution of a word and gives back to the calling word.
...see more... - extract ( n base -- n c ) voc: forth
- Extract the least significant digit of n. Leave on the stack the quotient of n/base and the ASCII character of this digit.
- F* ( r1 r2 -- r3 ) voc: forth
- Multiplication of two real numbers.
...see more... - F** ( r_val r_exp -- r ) voc: forth
- Raises a real r_val to the power r_exp.
...see more... - F+ ( r1 r2 -- r3 ) voc: forth
- Addition of two real numbers.
...see more... - F- ( r1 r2 -- r3 ) voc: forth
- Subtraction of two real numbers.
...see more... - f. ( r -- ) voc: forth
- Displays a real number. The real number must come from the real stack.
...see more... - f.s ( -- ) voc: forth
- Display content of reals stack.
...see more... - F/ ( r1 r2 -- r3 ) voc: forth
- Division of two real numbers.
...see more... - F0< ( r -- fl ) voc: forth
- Tests if a real number is less than zero.
...see more... - F0= ( r -- fl ) voc: forth
- Indicates true if the real is null.
...see more... - f< ( r1 r2 -- fl ) voc: forth
- fl is true if r1 < r2
...see more... - f<= ( r1 r2 -- fl ) voc: forth
- fl is true if r1 <= r2.
...see more... - f<> ( r1 r2 -- fl ) voc: forth
- fl is true if r1 <> r2.
...see more... - f= ( r1 r2 -- fl ) voc: forth
- fl is true if r1 = r2.
...see more... - f> ( r1 r2 -- fl ) voc: forth
- fl is true if r1> r2.
...see more... - f>= ( r1 r2 -- fl ) voc: forth
- fl is true if r1> = r2.
...see more... - F>NUMBER? ( addr len -- real:r fl ) voc: forth
- Converts a string to a real number. Leave -1 if the conversion is successful.
...see more... - F>S ( r -- n ) voc: forth
- Convert a real to an integer. Leaves the integer part on the data stack if the real has fractional parts.
...see more... - FABS ( r1 -- r1' ) voc: forth
- Returns the absolute value of a real number.
...see more... - FATAN2 ( r-tan -- r-rad ) voc: forth
- Calculates the angle in radians from the tangent.
...see more... - fconstant ( comp: r -- <name> | exec: -- r ) voc: forth
- Defines a constant of type real.
...see more... - FCOS ( r1 -- r2 ) voc: forth
- Calculates the cosine of an angle expressed in radians.
...see more... - fdepth ( -- n ) voc: forth
- n is the number of reals values contained in the real stack.
...see more... - FDROP ( r1 -- ) voc: forth
- Drop real r1 from real stack.
- FDUP ( r1 -- r1 r1 ) voc: forth
- Duplicate real r1 from real stack.
- FEXP ( ln-r -- r ) voc: forth
- Calculate the real corresponding to e EXP r
...see more... - field ( comp: n -- <:name> ) voc: structures
- Definition word for a new field in a structure.
...see more... - file-exists? ( addr len -- ) voc: forth
- Tests if a file exists. The file is designated by a character string.
...see more... - FILE-POSITION ( fileid -- ud ior ) voc: forth
- Return file position, and return ior=0 on success.
- FILE-SIZE ( fileid -- ud ior ) voc: forth
- Get size in bytes of an open file as a double number, and return ior=0 on success.
- fill ( addr len c -- ) ANSI voc: forth
- If len is greater than zero, store c in each of len consecutive characters of memory beginning at addr.
- FIND ( addr len -- xt | 0 ) ANSI voc: forth
- Find a word in dictionnary.
...see more... - fliteral ( r:r -- ) voc: forth
- Immediate execution word. Compiles a real number.
- FLN ( r -- ln-r ) voc: forth
- Calculates the natural logarithm of a real number.
...see more... - FLOOR ( r1 -- r2 ) voc: forth
- Rounds a real down to the integer value.
...see more... - FMAX ( r1 r2 -- r1|r2 ) voc: forth
- Let the greatest real of r1 or r2.
...see more... - FMIN ( r1 r2 -- r1|r2 ) voc: forth
- Let the smaller real of r1 or r2.
...see more... - FNEGATE ( r1 -- r1' ) voc: forth
- Reverses the sign of a real number.
...see more... - FNIP ( r1 r2 -- r2 ) voc: forth
- Delete second element on reals stack.
...see more... - for ( n -- ) voc: forth
- Marks the start of a loop
for .. next
...see more... - forget ( -- <name> ) voc: forth
- Searches the dictionary for a name following it. If it is a valid word, trim dictionary below this word. Display an error message if it is not a valid word.
...see more... - forth ( -- ) voc: forth
- Select the
FORTH
vocabulary in the word search order to execute or compile words.
...see more... - forth-builtins ( -- cfa ) voc: forth
- Entry point of
forth
vocabulary. - FOVER ( r1 r2 -- r1 r2 r1 ) voc: forth
- Duplicate second real on reals stack.
...see more... - fp0 ( -- addr ) voc: forth
- Points to the bottom of reals stack .
- FP@ ( -- addr ) voc: forth
- Retrieves the stack pointer address of the reals.
- FSIN ( r1 -- r2 ) voc: forth
- Calculates the sine of an angle expressed in radians.
...see more... - FSINCOS ( r1 -- rcos rsin ) voc: forth
- Calculates the cosine eand sine of an angle expressed in radians.
...see more... - fsqrt ( r1 -- r2 ) voc: forth
- Square root of a real number.
...see more... - FSWAP ( r1 r2 -- r1 r2 ) voc: forth
- Reverses the order of the two values on the real stack.
...see more... - full? ( -- fl ) voc: streams
- Push -1 if stream is full, otherwise push 0.
- fvariable ( comp: -- <name> | exec: -- addr ) voc: forth
- Defines a floating point variable.
...see more... - grow-blocks ( n -- ) voc: internals
- Expand the current file by n blocks.
- handler ( -- addr ) voc: forth
- Ticket for interruptions.
- here ( -- addr ) ANSI voc: forth
- Leave the current data section dictionary pointer.
...see more... - HEX ( -- ) ANSI voc: forth
- Selects the hexadecimal digital base.
...see more... - hld ( -- addr ) voc: forth
- Pointer to text buffer for number output.
- hold ( c -- ) ANSI voc: forth
- Inserts the ASCII code of an ASCII character into the character string initiated by
<#
. - i ( -- n ) ANSI voc: forth
- n is a copy of the current loop index.
...see more... - i16 ( -- 2 ) voc: structures
- Pseudo constant defined by
typer
. At runtime, drops the size of the datatype and puts a copy of that size in thelast-align
variable - i32 ( -- 4 ) voc: structures
- Pseudo constant defined by
typer
. At runtime, drops the size of the datatype and puts a copy of that size in thelast-align
variable - i64 ( -- 8 ) voc: structures
- Pseudo constant defined by
typer
. At runtime, drops the size of the datatype and puts a copy of that size in thelast-align
variable - i8 ( -- 1 ) voc: structures
- Pseudo constant defined by
typer
. At runtime, drops the size of the datatype and puts a copy of that size in thelast-align
variable - ice ( -- ) voc: forth
- Select vocabulary
ice
...see more... - ice-builtins ( -- addr ) voc: ice
- Entry point for
ice
vocabulary - ice_cram_close ( -- ) voc: forth
- Close FPGA config RAM connection.
- ice_cram_open ( -- ) voc: ice
- Open FPGA config RAM connection.
- ice_cram_write ( a n -- ) voc: ice
- Write bytes to the FPGA config RAM connection.
- ice_flash_erase_chip ( -- ) voc: ice
- Erase whole flash.
- ice_flash_erase_sector ( n -- ) voc: forth
- Erase a flash sector.
- ice_flash_erase_sector ( n -- ) voc: ice
- Erase a flash sector.
- ice_flash_init ( -- ) voc: forth
- Init flash connection.
- ICE_FLASH_PAGE_SIZE ( -- n ) voc: ice
- Get the size of a flash page.
- ice_flash_program_page ( addr a -- ) voc: ice
- Program a flash page.
- ice_flash_read ( addr a n -- ) voc: ice
- Read from a flash address to a buffer.
- ice_flash_sleep ( -- ) voc: ice
- Put flash in sleep mode.
- ice_flash_wakeup ( -- ) voc: ice
- Wakeup flash.
- ice_fpga_init ( n -- ) voc: ice
- Init FPGA to a clock speed in MHz.
...see more... - ice_fpga_start ( -- fl ) voc: ice
- Start FPGA.
...see more... - ice_fpga_stop ( -- ) voc: ice
- Stop FPGA.
- ice_led_blue ( f -- ) voc: ice
- Set on/off state of led blue channel.
- ice_led_green ( f -- ) voc: ice
- Set on/off state of led green channel.
- ice_led_init ( -- ) voc: ice
- Initialize LED.
- ice_led_red ( f -- ) voc: ice
- Set on/off state of led red channel.
- ice_spi_chip_deselect ( n -- ) voc: ice
- Set csn_pin to assert.
Also set the SPI TX and SCK pins back to input/high-z mode. - ice_spi_chip_select ( n -- ) voc: ice
- Set csn_pin to assert. Also set the SPI TX and SCK pins to output/drive mode, and keeps the RX pin to input/high-z mode.
...see more... - ice_spi_init ( -- ) voc: ice
- Initialize SPI.
...see more... - ice_spi_init_cs_pin ( cs_pin active_high -- ) voc: ice
- Configure the GPIO pins of the SPI library to high-impedance.
- ice_spi_read_blocking ( a n -- ) voc: ice
- Read from SPI into buffer.
- ice_spi_write_blocking ( a n -- ) voc: ice
- Write to SPI from buffer.
- ice_sram_get_id ( addr -- ) voc: ice
- Read SRAM id into 8 byte buffer.
- ice_sram_init ( -- ) voc: forth
- Initialize SRAM.
- ice_sram_read_blocking ( addr a n -- ) voc: ice
- Read from address in SRAM to memory.
- ice_sram_write_blocking ( addr a n -- ) voc: ice
- Write from memory to SRAM.
- if ( fl -- ) ANSI voc: forth
- The word
IF
is executed immediately.IF
marks the start of a control structure for typeIF..THEN
orIF..ELSE..THEN
.
...see more... - immediate ( -- ) ANSI voc: forth
- Make the most recent definition an immediate word.
...see more... - immediate? ( cfa -- fl ) voc: internals
- Test if a word is immediate.
...see more... - IMMEDIATE_MARK ( -- 1 ) voc: internals
- Constant. Value 1.
Used by?see-flags
- include ( -- <:name> ) voc: forth
- Loads the contents of a file designated by <name>.
...see more... - included ( addr len -- ) voc: forth
- Loads the contents of a file from the SPIFFS filesystem, designated by a character string.
...see more... - included? ( addr len -- f ) voc: forth
- Tests whether the file named in the character string has already been compiled.
- input-buffer ( -- addr ) voc: internals
- Memory zone defined by CREATE. Leave on stack address of input buffer. Size 200.
- input-limit ( -- 200 ) voc: internals
- Constant value 200.
Determines the size of the input buffer of the FORTH interpreter. - internalized ( -- ) voc: internals
- select
internalized
vocabulary.
...see more... - internals ( -- ) voc: forth
- Select
internals
vocabulary.
...see more... - invert ( x1 -- x2 ) ANSI voc: forth
- Complement to one of x1. Acts on 64 bits.
...see more... - is ( -- ) voc: forth
- Affecte le code d'exécution d'un mot à un mot d'exécution vectorisée.
...see more... - j ( -- n ) ANSI voc: forth
- n is a copy of the next-outer loop index.
...see more... - k ( -- n ) voc: forth
- n is a copy of the next-next-outer loop index.
...see more... - key ( -- char ) ANSI voc: forth
- Waits for a key to be pressed. Pressing a key returns its ASCII code.
...see more... - key? ( -- fl ) voc: forth
- Returns true if a key is pressed.
...see more... - L! ( n addr -- ) voc: forth
- Store a value n.
- last-struct ( -- addr ) voc: structures
- Variable pointing to the last defined structure.
- last-vocabulary ( -- addr ) voc: internals
- Variable pointing to the last defined vocabulary.
- latestxt ( -- xt ) voc: forth
- Stacks the execution code (cfa) address of the last compiled word.
...see more... - leave ( -- ) ANSI voc: forth
- Prematurely terminates the action of a
do..loop
loop.
...see more... - line-pos ( -- 0 ) voc: internals
- value incremented with each word display by
words
. - line-width ( -- 70 ) voc: internals
- Sets the number of characters per line for running
words
- list ( n -- ) voc: forth
- Displays the contents of block n.
...see more... - literal ( x -- ) ANSI voc: forth
- Compiles the value x as a literal value.
...see more... - long ( -- 8 ) voc: structures
- Pseudo constant defined by
typer
. At runtime, drops the size of the datatype and puts a copy of that size in thelast-align
variable - long-size ( -- 8 ) voc: internals
- Pseudo-constant. Stack 8.
- loop ( -- ) ANSI voc: forth
- Add one to the loop index. If the loop index is then equal to the loop limit, discard the loop parameters and continue execution immediately following the loop. Otherwise continue execution at the beginning of the loop.
...see more... - ls ( -- "path" ) voc: forth
- Displays the contents of a file path.
...see more... - LSHIFT ( x1 u -- x2 ) ANSI voc: forth
- Shift to the left of u bits by the value x1.
...see more... - main-task ( -- task ) voc: tasks
- Main task. Leave pointer task on stack
- max ( n1 n2 -- n1|n2 ) ANSI voc: forth
- Leave the unsigned larger of u1 and u2.
...see more... - min ( n1 n2 -- n1|n2 ) ANSI voc: forth
- Leave min of n1 and n2
...see more... - mod ( n1 n2 -- n3 ) ANSI voc: forth
- Divide n1 by n2, giving the single-cell remainder n3.
...see more... - ms ( n -- ) voc: forth
- Waiting in millisencondes.
...see more... - MS-TICKS ( -- n ) voc: forth
- System ticks. One tick per millisecond.
Useful for measuring the execution time of a definition.
...see more... - mv ( -- "src" "dest" ) voc: forth
- Rename "src" file to "dst".
- n. ( n -- ) voc: forth
- Display any value n in decimal format.
...see more... - negate ( n -- -n' ) ANSI voc: forth
- Two's complement of n.
...see more... - next ( -- ) voc: forth
- Marks the end of a loop
for .. next
- nip ( n1 n2 -- n2 ) voc: forth
- Remove n1 from the stack.
...see more... - nl ( -- 10 ) voc: forth
- Value 10 on stack.
...see more... - normal ( -- ) voc: forth
- Disables selected colors for display.
- OCTAL ( -- ) voc: forth
- Selects the octal digital base.
...see more... - OF ( n -- ) voc: forth
- Marks a
OF .. ENDOF
choice in the control structure betweenCASE ENDCASE
If the tested value is equal to the one precedingOF
, the part of code located betweenOF ENDOF
will be executed.
...see more... - ok ( -- ) voc: forth
- Displays the version of the FORTH language.
...see more... - only ( -- ) voc: forth
- Reset context stack to one item, the FORTH dictionary
Non-standard, as there's no distinct ONLY vocabulary - OPEN-FILE ( addr n opt -- n ) voc: forth
- Open a file.
opt is one of the valuesR/O
orR/W
orW/O
.
...see more... - OR ( n1 n2 -- n3 ) ANSI voc: forth
- Execute logic OR.
...see more... - order ( -- ) voc: forth
- Print the vocabulary search order.
...see more... - over ( n1 n2 -- n1 n2 n1 ) ANSI voc: forth
- Place a copy of n1 on top of the stack.
...see more... - page ( -- ) voc: forth
- Clears the screen content in the window where eForth is active.
- PARSE ( c "string" -- addr count ) voc: forth
- Parse the next word in the input stream, terminating on character c. Leave the address and character count of word. If the parse area was empty then count=0.
- pause ( -- ) voc: forth
- Yield to other tasks.
- pi ( -- r ) voc: forth
- PI constant.
...see more... - pico ( -- ) voc: forth
- Select
pico
vocabulary.
...see more... - pico-builtins ( -- addr ) voc: pico
- Entry point of
pico
vocabulary. - posix ( -- ) voc: forth
- Select
posix
vocabulary. - precision ( -- n ) voc: forth
- Pseudo constant determining the display precision of real numbers.
Initial value 6.
...see more... - prompt ( -- ) voc: forth
- Displays an interpreter availability text. Default poster:
ok
...see more... - r" ( comp: -- <string> | exec: addr len ) voc: forth
- Creates a temporary counted string ended with "
- R/O ( -- 0 ) voc: forth
- System constant. Stack 0.
- R/W ( -- 2 ) voc: forth
- System constant. Stack 2.
- r> ( R: n -- S: n ) ANSI voc: forth
- Transfers n from the return stack.
This operation must always be balanced with>r
...see more... - R@ ( -- n ) voc: forth
- Copies the contents of the top of the return stack onto the data stack.
- rdrop ( S: -- R: n -- ) voc: forth
- Discard top item of return stack.
...see more... - READ-FILE ( a n fh -- n ior ) voc: forth
- Read data from a file. The number of character actually read is returned as u2, and ior is returned 0 for a successful read.
- recurse ( -- ) ANSI voc: forth
- Append the execution semantics of the current definition to the current definition.
...see more... - remaining ( -- n ) voc: forth
- Indicates the remaining space for your definitions.
...see more... - remember ( -- ) voc: forth
- Save a snapshot to the default file.
- remember-filename ( -- addr len ) voc: internals
- Deferred word specifying the platform specific default snapshot filename.
- repeat ( -- ) ANSI voc: forth
- End a indefinite loop
begin.. while.. repeat
- REPOSITION-FILE ( ud fileid -- ior ) voc: forth
- Set file position, and return ior=0 on success
- reset ( -- ) voc: forth
- Delete the default filename.
- restore ( -- <:name> ) voc: forth
- Restore a snapshot from a file.
- rot ( n1 n2 n3 -- n2 n3 n1 ) ANSI voc: forth
- Rotate three values on top of stack.
- rp0 ( -- addr ) voc: forth
- Points to the bottom of Forth's return stack (data stack).
- RSHIFT ( x1 u -- x2 ) ANSI voc: forth
- Right shift of the value x1 by u bits.
...see more... - r| ( comp: -- <string> | exec: addr len ) voc: forth
- Creates a temporary counted string ended with |
- s" ( comp: -- <string> | exec: addr len ) ANSI voc: forth
- In interpretation, leaves on the data stack the string delimited by "
In compilation, compiles the string delimited by "
When executing the compiled word, returns the address and length of the string...
...see more... - S>F ( n -- r: r ) voc: forth
- Converts an integer to a real number and transfers this real to the stack of reals.
...see more... - S>NUMBER? ( addr len -- n fl ) voc: forth
- Evaluates the content of a character string and tries to transform the content into a number.
Leave the value n and -1 if the evaluation is successful
...see more... - s>z ( a n -- z ) voc: forth
- Convert a counted string string to null terminated (copies string to heap)
- save ( -- <:name> ) voc: forth
- Saves a snapshot of the current dictionary to a file.
- SCR ( -- addr ) voc: forth
- Variable pointing to the block being edited.
...see more... - see ( -- name> ) voc: forth
- Decompile a FORTH definition.
...see more... - see-all ( -- ) voc: internals
- Displays all the words in the dictionary. If the word is defined by: displays the decompilation of this word.
...see more... - see. ( xt -- ) voc: internals
- Displays the name of a FORTH word from its executable code.
...see more... - set-precision ( n -- ) voc: forth
- Changes the display precision of Real numbers.
...see more... - SF! ( r addr -- ) voc: forth
- Stores a real previously depoded on the real stack at the memory address addr.
...see more... - sf, ( r -- ) voc: forth
- Compile a real number.
- SF@ ( addr -- r ) voc: forth
- Get the actual number stored at address addr, usually a variable defined by
fvariable
.
...see more... - SFLOAT ( -- 4 ) voc: forth
- Constant. value 4.
- sfloat+ ( addr -- addr+4 ) voc: forth
- Increments a memory address by the length of a real.
...see more... - sfloats ( n -- n*4 ) voc: forth
- Calculate needed space for n reals.
...see more... - SMUDGE ( -- 2 ) voc: internals
- Constant. Value 2.
- sp0 ( -- addr ) voc: forth
- Points to the bottom of Forth's parameter stack (data stack).
...see more... - SP@ ( -- addr ) voc: forth
- Push on stack the address of data stack.
...see more... - space ( -- ) ANSI voc: forth
- Display one space.
...see more... - spaces ( n -- ) ANSI voc: forth
- Displays the space character n times.
...see more... - start-task ( task -- ) voc: forth
- Start a task.
- state ( -- fl ) ANSI voc: forth
- Compilation state. State can only be changed by
[
and]
.
...see more... - str ( n -- addr len ) voc: forth
- Transforms any value n into an alphanumeric string, in the current numeric base.
...see more... - str= ( addr1 len1 addr2 len2 -- fl ) voc: forth
- Compare two strings. Leave true if they are identical.
...see more... - stream ( comp: n -- <name> | exec: -- addr ) voc: streams
- Create a memory space of n characters.
...see more... - stream# ( sz -- n ) voc: streams
- Used bye
full?
andempty?
. - stream>ch ( addr -- c ) voc: streams
- Fetch a character from stream.
- streams ( -- ) voc: forth
- Select
streams
vocabulary. - struct ( comp: -- <:name> ) voc: structures
- Definition word for structures.
...see more... - structures ( -- ) voc: forth
- Select the
structures
vocabulary.
...see more... - swap ( n1 n2 -- n2 n1 ) ANSI voc: forth
- Swaps values at the top of the stack.
...see more... - task ( comp: xt dsz rsz -- <name> | exec: -- task ) voc: forth
- Create a new task with dsz size data stack and rsz size return stack running xt.
...see more... - task-list ( -- addr ) voc: tasks
- Variable. Point to tasks list.
- tasks ( -- ) voc: forth
- Select
tasks
vocabulary. - then ( -- ) ANSI voc: forth
- Immediate execution word used in compilation only. Mark the end a control structure of type
IF..THEN
orIF..ELSE..THEN
. - throw ( n -- ) voc: forth
- Generates an error if n is not equal to zero.
...see more... - thru ( n1 n2 -- ) voc: forth
- Loads the contents of a block file, from block n1 to block n2.
...see more... - tib ( -- addr ) voc: forth
- returns the address of the the terminal input buffer where input text string is held.
...see more... - to ( n --- <valname> ) ANSI voc: forth
to
assign new value to valname
...see more...- type ( addr c -- ) ANSI voc: forth
- Display the string characters over c bytes.
...see more... - typer ( comp: n1 n2 -- <name> | exec: -- n ) voc: structures
- Definition word for
i8 i16 i32 i64 ptr long
- u. ( n -- ) ANSI voc: forth
- Removes the value from the top of the stack and displays it as an unsigned single precision integer.
...see more... - U/MOD ( u1 u2 -- rem quot ) voc: forth
- Unsigned int/int->int division.
...see more... - UL@ ( addr -- un ) voc: forth
- Retrieve a unsigned value.
- unloop ( -- ) ANSI voc: forth
- Stop a do..loop action. Using
unloop
beforeexit
only in a do..loop structure.
...see more... - until ( fl -- ) ANSI voc: forth
- End of
begin.. until
structure.
...see more... - update ( -- ) voc: forth
- Used for block editing. Forces the current block to the modified state.
- use ( -- <name> ) voc: forth
- Use "name" as the blockfile.
...see more... - used ( -- n ) voc: forth
- Specifies the space taken up by user definitions. This includes already defined words from the FORTH dictionary.
- UW@ ( addr -- un[2exp0..2exp16-1] ) voc: forth
- Extracts the least significant 16 bits part of a memory zone pointed by addr.
...see more... - value ( comp: n -- <valname> | exec: -- n ) voc: forth
- Define value.
...see more... - variable ( comp: -- <name> | exec: -- addr ) ANSI voc: forth
- Creation word. Defines a simple precision variable.
...see more... - vlist ( -- ) voc: forth
- Display all words from a vocabulary.
...see more... - voc. ( voc -- ) voc: internals
- Used by
vocs.
- vocabulary ( comp: -- <name> | exec: -- ) voc: forth
- Definition word for a new vocabulary. In 83-STANDARD, vocabularies are no longer declared to be executed immediately.
...see more... - voclist ( -- ) voc: internals
- Displays the list of all available vocabularies.
...see more... - vocs. ( voc -- ) voc: internals
- Used by
order
- W/O ( -- 1 ) voc: forth
- System constant. Stack 1.
- while ( fl -- ) ANSI voc: forth
- Mark the conditionnal part execution of a structure
begin..while..repeat
...see more... - words ( -- ) voc: forth
- List the definition names in the first word list of the search order. The format of the display is implementation-dependent.
...see more... - XOR ( n1 n2 -- n3 ) ANSI voc: forth
- Execute logic eXclusif OR.
...see more... - z" ( comp: -- <string> | exec: -- addr ) voc: forth
- Compile zero terminated string into definition.
...see more... - z>s ( z -- a n ) voc: forth
- Convert a null terminated string to a counted string.
...see more... - [ ( -- ) ANSI voc: forth
- Enter interpretation state.
[
is an immediate word.
...see more... - ['] ( comp: -- <name> | exec: -- addr ) ANSI voc: forth
- Use in compilation only. Immediate execution.
Compile the cfa of <name>
...see more... - [char] ( comp: -- <spaces>name | exec: -- xchar ) ANSI voc: forth
- Place xchar, the value of the first xchar of name, on the stack.
...see more... - [ELSE] ( -- ) voc: forth
- Mark a part of conditional sequence in
[IF] ... [ELSE] ... [THEN]
. - [IF] ( fl -- ) voc: forth
- Begins a conditional sequence of type
[IF] ... [ELSE]
or[IF] ... [ELSE] ... [THEN]
.
...see more... - [SKIP] ( -- ) voc: internals
- Defered word. Execute
[SKIP]'
- [SKIP]' ( -- ) voc: internals
- Loop that tests the words between
[IF][ELSE] {THEN]
. - [THEN] ( -- ) voc: forth
- Ends a conditional sequence of type
[IF] ... [ELSE]
or[IF] ... [ELSE] ... [THEN]
.
...see more... - ] ( -- ) ANSI voc: forth
- Return to compilation.
]
is an immediate word.
...see more... - { ( -- <names..> ) voc: forth
- Marks the start of the definition of local variables. These local variables behave like pseudo-constants.
...see more...
Legal: site web personnel sans commerce / personal site without seling