0483d007675b34f32953b604d7119df78480f13f
[rrq/rrqforth.git] / adoc / p_1branch.adoc
1 // control.asm: WORD p_true_branch,'1BRANCH',fasm
2
3 anchor:p_1branch[]
4
5 === Word: 1BRANCH
6
7 ....
8 Data stack: ( v -- )
9 ....
10
11 "1BRANCH" 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, v, is non-zero then the branch
14 offset is added, and otherwise execution continues with the cell
15 following the branch offset in the definition.
16