From 8b85b7f787ccf3d731b45eb0c5c1e43392347ade Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Tue, 27 Dec 2022 17:03:29 +0100 Subject: [PATCH] Comments --- src/waforth.wat | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/waforth.wat b/src/waforth.wat index 51168fa..6dc65e4 100644 --- a/src/waforth.wat +++ b/src/waforth.wat @@ -112,6 +112,8 @@ (br_if $endLoop (i32.eqz (local.get $wordLen))) ;; Find the name in the dictionary + ;; Besides the code address (aka token), also returns a constant whether the word + ;; was found (!= 0), and if so, whether it was immediate (1) or not (-1). (local.set $findToken (local.set $findResult (call $find (local.get $wordAddr) (local.get $wordLen)))) (if (local.get $findResult) (then