another example
[rrq/rrqforth.git] / adoc / p_exit.adoc
index c1f4a909c55db5c4fadbbefa444a534c6f638ccc..f0db678babe5f06e03efbdc876c553c2a6cdcd6e 100644 (file)
@@ -1,9 +1,12 @@
+// rrqforth.asm:       WORD p_exit, 'EXIT',fasm
+
 anchor:p_exit[]
 
-Word: EXIT
-----------
+=== Word: EXIT
 
-----
-rrqforth.asm:  WORD p_exit, 'EXIT',fasm
-----
+....
+Data stack: ( v -- )
+....
 
+"EXIT" is a function word that terminates the +rrqforth+ process
+immediately with the given exit code.