commit 92027cf278f04fd99f5fa393d880656e1da3e5f8
parent 24285d1d5d1d1748e0a554d288ebb8b9006ef570
Author: Devine Lu Linvega <aliceffekt@gmail.com>
Date: Thu, 15 Sep 2022 11:13:34 -0700
Merge branch 'main' of git.sr.ht:~rabbits/uxn
Diffstat:
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/projects/examples/exercises/brainfuck.tal b/projects/examples/exercises/brainfuck.tal
@@ -8,7 +8,7 @@
[ Jump past the matching ] if the cell at the pointer is 0
] Jump back to the matching [ if the cell at the pointer is nonzero )
-|0100 ( -> ) @reset
+|0100 ( -> )
;memory
;program
@@ -22,8 +22,9 @@
LDAk LIT "] NEQ ,&prev JCN [ ,goto-back JSR ] &prev
INC2 LDAk ,&while JCN
POP2
- ( halt ) #010f DEO
-
+ ( halt )
+ #010f DEO
+
BRK
@goto-next ( -- )