Example program
This commit is contained in:
@@ -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
|
>-[-
|
||||||
|
]<
|
||||||
|
]<
|
||||||
|
]<
|
||||||
|
]
|
||||||
|
<]
|
||||||
|
|||||||
Reference in New Issue
Block a user