Skip to content

Instantly share code, notes, and snippets.

@Kirens
Last active April 10, 2016 17:17
Show Gist options
  • Save Kirens/9e3c99706773335366fa7bbf3cfd592d to your computer and use it in GitHub Desktop.
Save Kirens/9e3c99706773335366fa7bbf3cfd592d to your computer and use it in GitHub Desktop.
Whitespace countdown 10...0
| . . . . . . .
|.
. . . . .
| .
| .
. | . . . . . . .
| .
. | . . . .
| . . . | .
|.
. . . . .
|.
.
. . .
|.
. . . . .
|.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-------PROGRAM-DESCRIPTION--------
1::_store_10________:S.S.STSTSL
2::_label_ttt_______:L.SS.TTTL
3::_duplicate_______:S.LS
4::_print_num_______:TL.ST
5::_store_10________:S.S.STSTSL
6::_print_char______:TL.SS
7::_store_1_________:S.S.STL
8::_subtract________:TS.ST
9::_duplicate_______:S.LS
10:_jump_if_neg_tst_:L.TT.TSTL
11:_jump_to_ttt_____:L.SL.TTTL
12:_label_tst_______:L.SS.TSTL
13:_end_____________:L.LL
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment