Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Calculate the value 256 and test if it's zero
- If the interpreter errors on overflow this is where it'll happen
- ++++++++[>++++++++<-]>[<++++>-]
- +<[>-<
- Not zero so multiply by 256 again to get 65536
- [>++++<-]>[<++++++++>-]<[>++++++++<-]
- +>[>
- # Print "32"
- ++++++++++[>+++++<-]>+.-.[-]<
- <[-]<->] <[>>
- # Print "16"
- +++++++[>+++++++<-]>.+++++.[-]<
- <<-]] >[>
- # Print "8"
- ++++++++[>+++++++<-]>.[-]<
- <-]<
- # Print " bit cells\n"
- +++++++++++[>+++>+++++++++>+++++++++>+<<<<-]>-.>-.+++++++.+++++++++++.<.
- >>.++.+++++++..<-.>>-
- Clean up used cells.
- [[-]<]
- Prog. 4
- +[[->]-[-<]>-]>.>>>>.<<<<-.>>-.>.<<.>>>>-.<<<<<++.>>++.
Add Comment
Please, Sign In to add comment