Guest User

Untitled

a guest
May 19th, 2018
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. +++++ +++++             initialize counter (cell #0) to 10
  3. [                       use loop to set the next four cells to 70/100/30/10
  4.    > +++++ ++              add  7 to cell #1
  5.    > +++++ +++++           add 10 to cell #2
  6.    > +++                   add  3 to cell #3
  7.    > +                     add  1 to cell #4
  8.    <<<< -                  decrement counter (cell #0)
  9. ]                  
  10. > ++ .                  print 'H'
  11. > + .                   print 'e'
  12. +++++ ++ .              print 'l'
  13. .                       print 'l'
  14. +++ .                   print 'o'
  15. > ++ .                  print ' '
  16. << +++++ +++++ +++++ .  print 'W'
  17. > .                     print 'o'
  18. +++ .                   print 'r'
  19. ----- - .               print 'l'
  20. ----- --- .             print 'd'
  21. > + .                   print '!'
  22. > .                     print '\n'
Add Comment
Please, Sign In to add comment