Example program

This commit is contained in:
Yannick Reiß 2023-10-05 15:02:40 +02:00
parent bbd5a5efda
commit ddabe769b0
No known key found for this signature in database
GPG Key ID: 5A3AF456F0A0338C
1 changed files with 10 additions and 5 deletions

View File

@ -1,5 +1,10 @@
,>,< read two operands; return to cell zero
> move to cell to add
[ <+>- ] move cell to cell zero
. print result
[] endless loop
+[>
-[.-
>-[-
>-[-
>-[-
]<
]<
]<
]
<]