rename
[rrq/rrqforth.git] / adoc / p_quit.adoc
index 737421bc82aaf015babff06228c1b16f3a4d5bef..ff847d9b8f2c7c7cdca3a1505a96a27684f11fd9 100644 (file)
@@ -1,9 +1,14 @@
+// rrqforth.asm:       WORD p_quit,'QUIT',fasm
+
 anchor:p_quit[]
 
-Word: QUIT
-----------
+=== Word: QUIT
 
-----
-rrqforth.asm:  WORD p_quit,'QUIT',fasm
-----
+....
+Data stack: ??
+....
 
+"QUIT" is a function word that implements the root execution loop of
+RRQFORTH. First it resets the stacks to their original settings, and
+thereafter it enters loop of reading words from <<p_stdin,STDIN>> and
+executing them.