From 5ac2b0a3f3b30a25346d4f739d7b34e15d1e9d47 Mon Sep 17 00:00:00 2001 From: lash Date: Sun, 2 Apr 2023 00:16:17 +0100 Subject: [PATCH] Clear up bytecode example --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index f84ef79..6e903fb 100644 --- a/README.md +++ b/README.md @@ -130,11 +130,11 @@ It expects all replacement symbols to be available at time of rendering, and has ``` 0008 03666f6f 03626172 # INCMP "foo" "bar" - move to node "bar" if input is "FOO" 0001 0461696565 01 01 # CATCH "aiee" 1 1 - move to node "aiee" (and immediately halt) if input match flag is not set -0003 04616263 020104 # LOAD data from "abc" execution symbol, with a size limit of 260 -0005 04616263 # MAP data from "abc" symbol for use with renderer (ok since "123" is under "abc") -0007 # HALT execution (require new input to continue) -0006 03313233 # MOVE to node "123" (regardless of input) -0007 # HALT execution +0003 04616263 020104 # LOAD "abc" 2 260 - execute code symbol "abc" with a result size limit of 260 +0005 04616263 # MAP "abc" - make "abc" available for renderer +0007 # HALT - stop execution (require new input to continue) +0006 03313233 # MOVE "123" - move to node "123" (regardless of input) +0007 # HALT - stop execution ``` ## Assembly language