Link here

Forth Function List

A listing of all functions in the Forth library

Software development in Forth uses the Codeblocks-based Mosaic IDE Plus Integrated Development Environment; this is the same IDE used for software development in C. While Forth programmers will not use the IDE's GNU C (GCC) compiler, the IDE provides a full-featured text editor and customized terminal for rapid Forth code downloads and interactive Forth debugging sessions with the 9S12 (HCS12) processor on the controller board.

1108 Forth Functions

!
"
#
#>
#ENDSAVETO
#FIND
#S
#SAVETO
#TIB
#USER.BYTES
$>F
$COMPARE
$MOVE
${
'
(
(!)
(#FIND)
((ERROR))
(+!)
(+C!)
(2!)
(2@)
(@)
(ABORT)
(BENCHMARK:)
(C!)
(C@)
(CMOVE)
(COMPILE.CALL)
(COMPILE.REL.CALL)
(CREATE)
(EE!)
(EE2!)
(EEC!)
(EEF!)
(EEX!)
(ERROR)
(EXECUTE)
(F!)
(F@)
(FIND)
(FIND.LIB2LIB)
(FIND.RELATIVE)
(HERE)
(MOVE)
(PAGE.LATCH)
(RP)
(SP)
(STATUS)
(X!)
(X@)
*
*/
*/MOD
+
+!
+C!
+CURRENT.HEAP
+HEAP.HANDLE
+HEAP.PAGE
+LOOP
,
,"
-
-1
-1/INFINITY
-2
-INFINITY
-ROLL
-ROT
-TRAILING
.
."
.HANDLES
.MAP
.R
.S
.SEGMENTS
.TASKS
/
//
/MOD
/STRING
0
0<
0<>
0=
0>
0\0
1
1+
1-
1/F
1/INFINITY
1/LN(2)
1/LOG10(2)
1/PI
1/SQRT(2)
1/TEN
10^N
1XN+
1XN-
2
2!
2*
2+
2-
2/
2@
2ARRAY.FETCH
2ARRAY.STORE
2CONSTANT
2DROP
2DUP
2DUP>R
2LITERAL
2OVER
2PI/360
2ROT
2SWAP
2VARIABLE
2XN+
2XN-
3
360/2PI
3DROP
3DUP
4
4+
4-
4DROP
4DUP
4XN+
4XN-
8XN+
:
;
<
<#
<=
<>
<DBUILDS
<VBUILDS
=
>
><
>=
>ASSM
>DEGREES
>FORTH
>IN
>R
>RADIANS
?
?ARRAY.SIZE
?C.CALLABLE
?DIM.MATRIX
?DIMENSIONS
?DUP
?GET
?HANDLE.SIZE
?HAS.PFA
?IMMEDIATE
?KEY
?KEY1
?KEY2
?MATRIX.SIZE
?RECEIVE
?SEND
@
ABORT
ABORT"
ABS
ACTIVATE
ADDR->
ADDR.SIZE
ADDR:
ADDRS->
AGAIN
ALLOCATE.TASK:
ALLOCATED
ALLOT
AND
ANEW
APPLICATION
ARRAY.PF
ARRAY:
ASCII
ASK.FNUMBER
ASK.NUMBER
ASLEEP
ASSEMBLER
ATD.DIGITAL.INPUTS
ATD.MULTIPLE
ATD.OFF
ATD.ON
ATD.SAMPLE
ATD.SINGLE
ATD.START.SAMPLE
ATD0-7.RESULTS
ATD0.ID
ATD1.ID
ATD8-15.RESULTS
ATTACH
AUTOSTART:
AWAKE
BACKTRACK
BASE
BAUD
BEEP
BEGIN
BENCHMARK:
BL
BLANK
BLANK.ARRAY
BOOLEAN
BREAK
BREAK.ALL
BUILD.APPLICATION
BUILD.HASH.TABLE
BUILD.LIBRARY
BUILD.SEGMENTS
BUILD.STANDARD.TASK
BUILD.TASK
BYTE->
BYTE.SIZE
BYTES->
C!
C,
C.CALLABLE
C.HEADERS:
C@
CALC.CHECKSUM
CALC.CHECKSUM.MANY
CALL
CASE
CAT
CFA.FOR
CFA>NAME
CFA>NFA
CFA>PFA
CHANGE.BITS
CHANGE.NFA.TYPE
CHAR.SIZE
CHARS/LINE
CHECKSTART.DISABLE
CHECKSTART.ENABLE
CLEAR.BITS
CLEAR.BOOT.VECTORS
CLOCK.MONITOR.ID
CMOVE
CMOVE.IN.PAGE
CMOVE.MANY
CMOVE.MANY.CHECK
CODE
COLD
COLD.ON.RESET
COMMON.PAGE
COMPILE
COMPILE.CALL
COMPILE.LIB2LIB.CALL
COMPLEMENT
COMPOSE.C.ASM.CODE
COMPOSE.C.ASM.CODE.FOR
COMPOSE.C.HEADERS
COMPOSE.C.HEADERS.FOR
COMPOSE.C.INSTALLER
COMPOSE.C.INSTALLER.FOR
COMPOSE.FLASH.INSTALLER
COMPOSE.FORTH.INSTALLER
COMPOSE.FORTH.INSTALLER.FOR
CONSTANT
CONTEXT
CONVERT
COP.ID
COPY.ARRAY
COPY.MATRIX
COUNT
COUNT.TO.MSEC
COUNT.TYPE
COUNTER.UNDERFLOW.ID
CR
CR.BEFORE.MSG
CREATE
CURRENT
CURRENT.HEAP
CUSTOM.ABORT
CUSTOM.ERROR
D+
D-
D.
D.INSTANCE:
D.OVER.N
D.R
D0<>
D0=
D2*
D2/
D<
D<>
D=
D>
D>R
D>R$
D>S
D>S?
DABS
DATE/TIME:
DEALLOCATED
DEBUG
DECIMAL
DEFAULT.MAP
DEFAULT.TRACE.ACTION
DEFINITIONS
DELETED
DEPTH
DFIXX
DFLOT
DIGIT
DIM.CONSTANT.ARRAY:
DIM.CONSTANT.MATRIX:
DIMENSIONED
DIMMED
DIN
DINT
DINT.FLOOR
DISABLE.BOOT.VECTORS
DISABLE.INTERRUPTS
DMAX
DMIN
DNEGATE
DO
DOES>
DOUBLE->
DOUBLE:
DOUBLES->
DP
DP.NOBUMP
DPAGE
DPICK
DR>
DR>DROP
DR@
DRANGE
DROP
DSCALE
DU<
DU>
DUMP
DUMP.AUTOSTARTS
DUMP.BINARY
DUMP.INTEL
DUMP.KERNEL.S ( -- )
DUMP.MANY.S2
DUMP.REGISTERS
DUMP.S1
DUMP.S2
DUMP.SEGMENT
DUMP.SEGMENT.FILE
DUMP.SEGMENT.FILE.FOR
DUMP.SEGMENT.STREAM
DUMP.SEGMENTS
DUP
DUP.HEAP.ITEM
DUP>R
ECT.CLEAR.INTERRUPT.FLAG
ECT.FAST.CLEAR
ECT.INTERRUPT.DISABLE
ECT.INTERRUPT.ENABLE
ECT.OVERFLOW.ID
ECT.PRESCALER
ECT.STANDARD.CLEAR
ECT0.ID
ECT1.ID
ECT2.ID
ECT3.ID
ECT4.ID
ECT5.ID
ECT6.ID
ECT7.ID
EE2VARIABLE
EEALLOT
EEFVARIABLE
EEHERE
EEP
EEPROTOTYPE:
EEVARIABLE
EEXVARIABLE
ELSE
EMIT
EMIT1
EMIT2
ENABLE.BOOT.VECTORS
ENABLE.INTERRUPTS
END-CODE
END.CODE
END.LOAD.SEGMENT
END.SEGMENT
ENDCASE
ENDIF
ENDIFTRUE
ENDOF
ERASE
ESC.HANDLER
EVALUATE
EXECUTE
EXIT
EXPECT
F!
F*
F**
F+
F-
F.
F.OVER.N
F/
F0<
F0<=
F0<>
F0=
F0>
F0>=
F2*
F2/
F2DROP
F2DUP
F<
F<=
F<>
F=
F>
F>$
F>=
F>FIXED$
F>FLOATING$
F>R
F>SCIENTIFIC$
F@
FABS
FACOS
FALN
FALOG10
FALOG2
FALSE
FASIN
FATAN
FCONSTANT
FCOS
FDROP
FDUP
FDUP>R
FIELD
FILL
FILL.ARRAY
FILL.FIELD
FILL.MANY
FIND
FIND.LIB2LIB
FIND.RELATIVE
FINT
FIXED
FIXED.
FIXX
FLN
FLOAT.SIZE
FLOATING
FLOATING.
FLOG10
FLOG2
FLOOR
FLOT
FMAX
FMIN
FNEGATE
FNUMBER
FOR
FORGET
FORTH
FORTH.HEADERS:
FOVER
FP&STRING.POP
FP&STRING.PUSH
FP.DEFAULTS
FP.ERROR
FP.POP
FP.PUSH
FPICK
FR>
FR>DROP
FR@
FRAME.DROP
FRANDOM
FREE.HANDLE
FROM.HEAP
FROM.IO
FROM.SMART.IO
FROT
FRTI
FSCALE
FSIN
FSQRT
FSWAP
FTAN
FUNCTION.TYPE
FVARIABLE
F^N
GET
H.INSTANCE:
HALT
HANDLE.PTR
HAS.PFA
HASH.INDEX
HASH.INDEX>XADDR
HEAP.PTR
HEAP.STRUCTURE.PF
HERE
HEX
HEX.
HEXD.
HEXD.R
HEXD>R$
HNDL->
HOLD
HOLDING.REG.FORCE.LATCH
I
I'
I+
I-
IIC.ID
IC.1024.CYCLE.DELAY
IC.256.CYCLE.DELAY
IC.512.CYCLE.DELAY
IC.DELAY.DISABLED
IC.FIRST.POLARITY
IC.HOLDING.READ
IC.NO.OVERWRITE
IC.NOISE.DELAY
IC.OVERWRITE.OK
IC.PULSE.CONFIG
ID.
IF
IFTRUE
IIC.104KHZ.23PERCENT
IIC.10KHZ.13PERCENT
IIC.96KHZ.25PERCENT
IIC.ARB.LOST.ERROR
IIC.ERROR
IIC.FREQUENCIES
IIC.INIT
IIC.MASTER.RECEIVER
IIC.NAK.ERROR
IIC.NUM.BYTES.TO.RCV
IIC.NUM.BYTES.TO.XMIT
IIC.RCV.BUF.FULL
IIC.RCV.BUF.OFFSET
IIC.RCV.BUF.OVERFLOW
IIC.RCV.BUF.PTR
IIC.RCV.BUFFER
IIC.RCV.BUF.SIZE
IIC.RECEIVE
IIC.RECEIVE.FRAME
IIC.SEND
IIC.SEND.FRAME
IIC.SEND.NEXT.FRAME
IIC.TIMEOUT.ERROR
IIC.XMIT.BUF.EMPTY
IIC.XMIT.BUF.OFFSET
IIC.XMIT.BUF.OVERFLOW
IIC.XMIT.BUF.PTR
IIC.XMIT.BUFFER
IIC.XMIT.BUF.SIZE
IMMEDIATE
IN.PLACE
INFINITY
INIT.ELAPSED.TIME
INIT.IP.SPI
INIT.SPI
INIT.VITAL.IRQS.ON.COLD
INPUT.CAPTURE
INPUT.STRING
INSTALL.MULTITASKER
INT->
INT.FLOOR
INT.PART
INT.SIZE
INTEGER:
INTERPRET
INTS->
IO.!
IO.2!
IO.2@
IO.@
IO.C!
IO.C@
IO.CHANGE.BITS
IO.CLEAR.BITS
IO.F!
IO.F@
IO.SET.BITS
IO.X!
IO.X@
IRQ.ID
IS.AUTOSTART
IS.HEAP
IS.PRIORITY.AUTOSTART
IS.TRACE.ACTION
IXN+
IXN-
IXU+
IXU-
J
KEY
KEY1
KEY2
KILL
LAST.DP.PAGE
LAST.NP.PAGE
LAST.SEGMENT
LATEST
LCOUNT
LEAVE
LEFT.PLACES
LIB2LIB.CFA.FOR
LIBRARY
LIBRARY.IS.COMPILING
LINK
LINK.HASH
LITERAL
LN(2)
LOAD.APPLICATION
LOAD.LIBRARY
LOAD.MATRIX
LOAD.PAGE
LOAD.PAGES
LOAD.PAGES.AT.STARTUP
LOCALS{
LOG10(2)
LOG2
LONG.LINE.MSG
LONG.SIZE
LOOP
LPARSE
LTYPE
M*
M.
M..
M.PARTIAL
M/MOD
MAILBOX:
MAKE.HEADER
MANTISSA.PLACES
MASTER2
MATRIX
MATRIX.PF
MATRIX:
MAX
MEMBER->
MICROSEC.DELAY
MIN
MOD
MOD.COUNTER.LOAD
MOD.COUNTER.READ
MOD.COUNTER.SETUP
MOD.COUNTER.UPDATE
MODULUS.UNDERFLOW
MOVE
MOVE.HEADERS
MOVE.IN.PAGE
MOVE.MANY
MOVE.SEGMENT.TO.DEST.PAGE
MSEC.TIMESLICE.PERIOD
M[]
M[]!
M[]@
NDROP
NEEDED
NEGATE
NEXT
NEXT.NUMBER
NEXT.TASK
NEXT.WORD
NFA.FOR
NFA>CFA
NFA>L$
NFA>LFA
NFA>PFA
NFA>PROPERTIES
NHERE
NIP
NO.AUTOSTART
NO.OP
NO.SPACES
NO.STATUS.AT.STARTUP
NO.VITAL.IRQ.INIT
NOT
NP
NP.NOBUMP
NPAGE
NUMBER
OC.ACTION
OC.CLEAR.ACTION
OC.FORCE
OC.IC.REG.READ
OC.NO.ACTION
OC.NO.TOGGLE.ON.OVERFLOW
OC.REG.WRITE
OC.SET.ACTION
OC.TOGGLE.ACTION
OC.TOGGLE.ON.OVERFLOW
OC7.CLEARS.IT
OC7.DISCONNECT
OC7.SETS.IT
OF
OFF
OK
ON
ON.FORGET
ONE
OPEN.LAST.SEGMENT
OPEN.SEGMENT
OR
OR.TYPE.OF:
OTHERWISE
OUTPUT.COMPARE
OVER
OVERFLOW
PAD
PAGE->
PAGE.SIZE
PARAMS(
PARSE
PARSE.BUFFER
PAUSE
PAUSE.ON.KEY
PF.STACK.FRAME
PFA>NAME
PFA>NFA
PI
PI/2
PICK
PLL.LOCK.ID
POCKET
PORTAD0
PORTAD0.MODE
PORTAD1
PORTAD1.MODE
PORTH.ID
PORTJ
PORTJ.DIRECTION
PORTJ.ID
PORTM
PORTM.DIRECTION
PORTP
PORTP.DIRECTION
PORTP.ID
PORTP.IN
PORTT
PORTT.DIRECTION
PORTT.IN
PRIORITY.AUTOSTART:
PRIVATE
PROTOTYPE:
PULSE.A
PULSE.A.EDGE
PULSE.A.EDGE.ID
PULSE.A.FALLING.EDGE
PULSE.A.GATED.HIGH
PULSE.A.GATED.LOW
PULSE.A.OVERFLOW
PULSE.A.OVERFLOW.ID
PULSE.A.RISING.EDGE
PULSE.A.SETUP
PULSE.B
PULSE.B.OVERFLOW
PULSE.B.OVERFLOW.ID
PULSE.B.SETUP
PULSE.DISABLE
PULSE.ENABLE
PULSE.HOLDING.READ
PULSE.REG.READ
PULSE.REG.WRITE
PUSH.FORTH.PARAMS
PWM.ACTIVE.HIGH
PWM.ACTIVE.LOW
PWM.CENTER.ALIGN
PWM.CLOCKA
PWM.CLOCKB
PWM.CONCATENATE
PWM.COUNTER.READ
PWM.COUNTER.WRITE
PWM.DISABLE
PWM.DISABLE.MULTIPLE
PWM.DUTY.READ
PWM.DUTY.WRITE
PWM.ENABLE
PWM.ENABLE.MULTIPLE
PWM.LEFT.ALIGN
PWM.PERIOD.READ
PWM.PERIOD.WRITE
PWM.PRESCALER
PWM.SCALED.CLOCK
PWM.SCALER
PWM.SEPARATE
PWM.SETUP
PWM.SHUTDOWN.ID
PWM.UNSCALED.CLOCK
PWM01
PWM23
PWM45
PWM67
QUERY
QUIET
QUIET.COLD
QUIT
R0
R:
R>
R>DROP
R@
RANDOM
RANDOM#
RANDOM.GAUSSIAN
RANGE
RANGE.OF
RCODE
READ.ELAPSED.SECONDS
READ.ELAPSED.TIME
READ.WATCH
REAL->
REAL:
REALS->
RECEIVE
RECEIVE.BINARY
RECEIVE.HEX
RECOVER.HANDLE
RECURSE
REDEFINE
REDIMMED
REGISTER:
RELEASE
RELEASE.AFTER.LINE
RELEASE.ALWAYS
RELEASE.NEVER
RELOCATE.ONLY:
RELOCATE:
REPEAT
REPORT.PAGES.LOADED
REQUIRES.FIXED
REQUIRES.RELATIVE
RESERVED
RESIZE.HANDLE
RESOURCE.VARIABLE:
RESTORE
RESTORE.ALL
RESTORE.SEGMENT.NAMES
RIGHT.PLACES
ROLL
ROOM
ROT
RP!
RS485.INIT
RS485.RECEIVE
RS485.TRANSMIT
RS485.TRANSMIT.DONE
RTI.ID
S0
S>D
SAVE
SAVE.ALL
SCALE
SCAN
SCI0.ID
SCI1.ID
SCIENTIFIC
SCIENTIFIC.
SECTION$.XADDR
SECTION:
SEGMENT.ARRAY.ADDR
SEGMENT.BUMP
SEGMENT.PRESENT
SELF.CLOCK.ID
SEND
SERIAL
SERIAL.ACCESS
SERIAL1.AT.STARTUP
SERIAL1.RESOURCE
SERIAL2.AT.STARTUP
SERIAL2.RESOURCE
SET.BITS
SET.BOOT.VECTOR
SET.WATCH
SHIFT.SEGMENT.PAGE
SIGN
SIGNED.D>S
SINGLE.STEP
SIZE.OF
SKIP
SKIP>
SMART.IO.2@
SMART.IO.@
SMART.IO.C@
SMART.IO.F@
SMART.IO.X@
SMUDGE
SMUDGE:
SP!
SPACE
SPACES
SPAN
SPI.CONFIG
SPI.EXCHANGE
SPI.FALLING.LEADING.EDGE
SPI.FALLING.TRAILING.EDGE
SPI.FREQUENCIES
SPI.RESOURCE
SPI.RESTORE
SPI.RISING.LEADING.EDGE
SPI.RISING.TRAILING.EDGE
SPI.SAVE
SPI0.ID
SPI1.ID
SPI2.ID
SQRT(2)
STACK.FRAME
STANDARD.RESET
START.HEAP
START.TIMESLICER
STATE
STATUS
STATUS.AT.STARTUP
STOP.TIMESLICER
STORE.PAGES
STRING->
STRUCT->
STRUCTS->
STRUCTURE.BEGIN:
STRUCTURE.END
SWAP
SWAP.ARRAYS
SWAP.MATRIX
SWI.ID
TAB.WIDTH
TALK.TO.MASTER
TALK.TO.SLAVE
TASK'S.USER.VAR
TASK:
TCNT.OVERFLOW
TCNT.READ
TEN
THEN
THIS.PAGE
THIS.SEGMENT
THIS.SEGMENT.XBASE
THIS.SEGMENT.XNFA
TIB
TIMESLICE.COUNT
TO
TO.EEPROM
TO.FLASH
TO.FLASH.MANY
TO.HEAP
TO.HERE
TO.IO
TO.IO.REGISTER
TO.MEMORY
TO.XFLASH
TOGGLE.BITS
TRACE
TRAILING.ZEROS
TRANSFER.HEAP.ITEM
TRAP.ID
TRIGGER.EDGE
TRIGGER.OFF
TRIGGER.ON.ANY.EDGE
TRIGGER.ON.FALLING.EDGE
TRIGGER.ON.RISING.EDGE
TRUE
TUCK
TYPE
TYPE.END
TYPE.OF:
U*/MOD
U.
U/
U/MOD
U2/
U<
U>
U>D
U?KEY
UABORT
UD*S
UD.R
UD>R$
UEMIT
UERROR
UFIXX
UFLOT
UKEY
UM*
UM/MOD
UMAX
UMIN
UMOD
UNDERFLOW
UNIQUE.MSG
UNLOOP
UNSAVE.ALL
UNTIL
UP
UPAD
UPOCKET
UPPER.CASE
URANGE
URANGE.OF
USE.SERIAL1
USE.SERIAL2
USER
USER.SPECIFIED
UTIB
V,
V.INSTANCE:
VALID.HASH
VALLOT
VARIABLE
VC,
VERSION
VFORTH
;
VHERE
VOCABULARY
VOID
VOID.SIZE
VP
VPROTOTYPE:
WAIT.TIL.MATCH
WARM
WATCH.RESULTS
WE.ALL
WHILE
WIDTH
WORD
WORD.IN.BUFFER
WORDS
WP.ALL
WRITE.ENABLE
WRITE.PROTECT
X!
X.OVER.N
X1-X2>D
X1-X2>N
X2DROP
X2DUP
X:
X<>
X=
X>R
X@
XADDR->
XADDR.SIZE
XADDR:
XADDRS->
XALIGN
XCODE
XCONSTANT
XCONSTANT.REL
XCREATE
XD+
XD-
XDROP
XDUP
XDUP>R
XHNDL->
XIRQ.ID
XMIT.DISABLE
XN+
XN-
XOR
XOVER
XPICK
XR>
XR>DROP
XR@
XRANGE
XROT
XSWAP
XU+
XU-
XU<
XU>
XVARIABLE
ZERO
ZERO.ARRAY
ZERO.MATRIX
[
[0]
[COMPILE]
[]
\
]
|2!|
|2@|
|F!|
|F@|
|X!|
|X1-X2|>U
|X@|
 
This page is about: Forth Library List, All Forth Operating System Firmware Functions – A listing of all functions, Forth words, and Forth RTOS (real time multitasking operating system) services in the embedded Forth firmware library
 
 
Navigation