Example program
This commit is contained in:
parent
bbd5a5efda
commit
ddabe769b0
|
@ -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
|
||||
+[>
|
||||
-[.-
|
||||
>-[-
|
||||
>-[-
|
||||
>-[-
|
||||
]<
|
||||
]<
|
||||
]<
|
||||
]
|
||||
<]
|
||||
|
|
Loading…
Reference in New Issue