adding execution control words
[rrq/rrqforth.git] / adoc / p_branch.adoc
index b555fd6cc2c1d6b2baf3ae80222d4e6735bd52bf..089e23867213f9164a4d23a9983e3b72ee9f1fd1 100644 (file)
@@ -1,9 +1,13 @@
+// control.asm:        WORD p_branch,'BRANCH',fasm
+
 anchor:p_branch[]
 
-Word: BRANCH
-----------
+=== Word: BRANCH
 
-----
-rrqforth.asm:  WORD p_branch,'BRANCH',fasm
-----
+....
+Data stack: ( -- )
+....
 
+"BRANCH" is a function word that implements execution transfer by
+means of adding the subsequent branch offset to the point of
+execution.