Content deleted Content added
m →RPL: More copy editing. |
→Branches: Fix bugs in example |
||
Line 309:
==Branches==
In all interpreters, a branch simply changes the thread pointer (<code>ip</code>
<syntaxhighlight lang="c">
Line 318:
...
brz:
when_true_ip = *ip++ // Get destination address for branch
if (*--sp == 0) // Pop/Consume top of stack and check if it's zero
ip =
jump *ip++
</syntaxhighlight>
|