Vegetarianboy30

test program in branflakes

Jan 2nd, 2021
1,457
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Calculate the value 256 and test if it's zero
  2. If the interpreter errors on overflow this is where it'll happen
  3. ++++++++[>++++++++<-]>[<++++>-]
  4. +<[>-<
  5.    Not zero so multiply by 256 again to get 65536
  6.    [>++++<-]>[<++++++++>-]<[>++++++++<-]
  7.    +>[>
  8.        # Print "32"
  9.        ++++++++++[>+++++<-]>+.-.[-]<
  10.    <[-]<->] <[>>
  11.        # Print "16"
  12.        +++++++[>+++++++<-]>.+++++.[-]<
  13. <<-]] >[>
  14.    # Print "8"
  15.    ++++++++[>+++++++<-]>.[-]<
  16. <-]<
  17. # Print " bit cells\n"
  18. +++++++++++[>+++>+++++++++>+++++++++>+<<<<-]>-.>-.+++++++.+++++++++++.<.
  19. >>.++.+++++++..<-.>>-
  20. Clean up used cells.
  21. [[-]<]
  22.  
  23. Prog. 4
  24. +[[->]-[-<]>-]>.>>>>.<<<<-.>>-.>.<<.>>>>-.<<<<<++.>>++.
Add Comment
Please, Sign In to add comment