Created
March 24, 2019 13:24
-
-
Save gkucmierz/de37c3e563fc0b7cc8f3080866daa4ca to your computer and use it in GitHub Desktop.
get_dec_input
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
// get dec input from 0 to 255 and store it in second cell | |
++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++ 48 0 dec | |
[ | |
mul by 10: | |
>1 [-> +++++ +++++ <] >2 [-<+>] <<1 | |
---------- ---------- ---------- ---------- -------- 48 | |
[->+<] add to sum | |
, | |
] | |
!157 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment