4f396c3b82e5d3f08b2f3f2a537f45d9827515d2
[rrq/rrqforth.git] / adoc / p_0branch.adoc
1 // rrqforth.asm:        WORD p_zero_branch,'0BRANCH',fasm
2
3 anchor:p_zero_branch[]
4
5 === Word: 0BRANCH
6
7 ....
8 Data stack: ( v -- )
9 ....
10
11 "0BRANCH" is a function word that implements execution conditional by
12 means of optionally adding the subsequent branch offset, or not, to
13 the point of execution. If the value, is 0 then the branch offset is
14 added, and otherwise execution continues with the cell following the
15 branch offset in the definition.
16