From 2ba4fd59d86c1f324994fac41406fa5bc9dd42f2 Mon Sep 17 00:00:00 2001 From: YakYakKruak Date: Wed, 27 Jun 2018 01:23:26 +0300 Subject: [PATCH] doc --- documentation.frt | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/documentation.frt b/documentation.frt index c8ea719..c38b709 100644 --- a/documentation.frt +++ b/documentation.frt @@ -12,3 +12,48 @@ Drop the topmost element of the stack ( a b -- b a ) Swap two topmost elements of the stack " doc-word + +' cells g" +( a -- a * 8 ) +Multiplies top of stack by 8 +" doc-word + +' cell% g" +( -- 8 ) +Pushes 8 +" doc-word + +' >= g" +( y x -- [x >= y] ) +Compares two number at the top of stack +" doc-word + +' > g" +( y x -- [x > y] ) +Compares two number at the top of stack +" doc-word + +' <= g" +( y x -- [x <= y] ) +Compares two number at the top of stack +" doc-word + +' <> g" +( y x -- [x <> y] ) +Compares two number at the top of stack +" doc-word + +' 2dup g" +( a b -- a b a b ) +Clones two elements at the top of stack +" doc-word + +' over g" +( a b -- a b a ) +Clones element before top of stack +" doc-word + +' -rot g" +( a b c -- c a b ) +Inversion of rot +" doc-word