From e98ebbad387def55d8347adb5bf45034d542cce0 Mon Sep 17 00:00:00 2001 From: Charlie Stanton Date: Wed, 26 Apr 2023 15:04:20 +0100 Subject: Document branching --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index d2f5700..73f3ba0 100644 --- a/README.md +++ b/README.md @@ -274,3 +274,5 @@ With an understanding of subexes, we can look at the stred commands | `Z` | Append the contents of the value register to the Z register | | `k` | Swap the value register with the path register | | `K` | Append the contents of the value register to the path register | +| `:` | Create a label. The character after `:` is used to label this point in the program, e.g. `:a` creates a label called `a` | +| `b` | Branch to a label. The character after `b` is the label to branch to, e.g. `ba` branches to label `a` | -- cgit v1.2.3