Last active
December 19, 2015 03:59
-
-
Save momer/5894039 to your computer and use it in GitHub Desktop.
Continually prints 'Get Money' while incrementing the ptr ad infinitum (or at least until size of int for cell #(0))
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+[ Increment ptr(0) and enter loop | |
>++++++++++ Increment byte at ptr(1) 10 times | |
[ While ptr | |
>+++++++ incremement ptr(2) 7 times | |
>++++++++++ increment ptr(3) 10 times | |
>+ increment ptr(4) 1 time | |
>+++ increment ptr(5) 3 times | |
<<<< - back down to ptr 1 and decrement ptr 1 | |
] | |
> + . Ascii 71 (G) ptr 2 | |
> + . Ascii 101 (e) | ptr 3 | |
+++++++++++++++ . Ascii 116 (t) | ptr 3 | |
>> ++ . Ascii 32 (sp) | ptr 5 | |
<< ------- . Ascii 109 (m) | ptr 3 | |
++ . Ascii 111 (o) | ptr 3 | |
- . Ascii 110 (n) | ptr 3 | |
--------- . Ascii 101 (e) | ptr 3 | |
++++++++++++++++++++ . Ascii 121 (y) | ptr 3 | |
> . Ascii 10 (\n) | ptr 4 | |
- . Ascii 09 (\t) | ptr 4 | |
> ++++ . Ascii 36 ($) | ptr 5 | |
< + . Ascii 10 (\n) | ptr 4 | |
[ Reset pointers to 0 | |
<<------- | |
>------------ | |
>>--- | |
<- | |
] | |
<<- | |
>- | |
>>------ | |
<<<<<+ *ptr now at ptr 0 and increment | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Daaamn :|