Implemented Forth Words


This page is for people who already know Forth. If you don't know what these are, see the introduction for an explanation of what words are to Forth. The listing will look strange under Internet Explorer 3.0. I think this is a bug in Internet Explorer.
Arithmetic Operators
  • 1+
  • 1-
  • ABS
  • NEGATE
  • +
  • - (minus)
  • +!
  • */
  • MOD
  • *
  • /
  • /MOD
  • 2+
  • 2-
  • 2/
  • 2*
  • MAX
  • MIN
Comparison Operators
  • 0<
  • 0<>
  • 0=
  • 0>
  • <
  • >
  • <>
  • =
Compiler Words
  • ; (semicolon)
  • ( (paren)
  • : (colon)
Control Structures
  • IF ... ELSE ... THEN
  • DO ... LOOP
Conversion Operators
  • OCTAL
  • DECIMAL
  • HEX
Defining Words
  • CONSTANT
  • VARIABLE
  • : (colon)
  • CREATE
Logical Operators
  • AND
  • OR
  • NOT
Memory Access Operators
  • ! (store)
  • +! (plus-store)
  • @ (fetch)
  • ALLOT
Output Commands
  • . (dot)
  • CR
  • EMIT
  • SPACES
Input Commands
  • KEY
Stack Operators
  • DROP
  • DUP
  • OVER
  • ROT
  • SWAP
  • ?DUP
Variables and Constants
  • TRUE
  • FALSE
  • BASE
  • BL

Misty Beach Home Page
Last Updated: 18-Jan-1997
Questions? Comments? Email: Mark
Copyright © 1996-7 by Misty Beach Software Organization