My favorites | Sign in
Project Home Downloads Wiki Issues
Search
for
Primitives  
The inbuilt primitives
Updated Jul 16, 2010 by jackokring

Primitives

  • 0 ! Store
  • 1 0=* ZeroEekMul allows conditional branching and otherwise useful
  • 2 @ Fetch
  • 3 BEEP Beep
  • 4 BYE Bye allows system or task exit
  • 5 D+ DoublePlus allows all addition and subtraction and sign tests
  • 6 XOR ExclusiveOr allows all addition and subtraction and xor
  • 7 EXIT Exit
  • 8 INKEY InKey gets all keypad input
  • 9 INURL InURL gets all net connectivity working
  • 10 MEDIA Media special functions relating to the medium or device
  • 11 NATIVE Native a hook to simulate a machine code
  • 12 R> RTo
  • 13 VIDOUT VidOut refresh the video output
  • 14 U* UnsignedMultiply the basic multiply word
  • 15 U/ UnsignedDivide an optimization due to the way Java drops the modulus
  • 16 >R ToR
  • 17 (EDIT) IndEdit refills input to allow corrections
  • 18 (COMP) IndComp a COMPILER RUNS> support word
  • 19 DROP Drop
  • 20 PICK Pick
  • 21 (SP) IndSp gets the stack pointer
  • 22 SWAP Swap
  • 23 (R+) IndRPlus branch helper
  • 24 J J loop helper
  • 25 (SKIP) IndSkip not zero skip a routine
  • 26 (REP) IndRep not zero repeat a routine
  • 27 (ALT) IndAlt perform an alternate routine if zero with no return
  • 28 ([) IndList make a list from literal
  • 29 (,[) IndSerial make a literal from list
  • 30 EVAL Eval evaluate a list (boot?)
  • 31 SLEEP Sleep slow actions or forth core

Sign in to add a comment
Powered by Google Project Hosting