git @ Cat's Eye Technologies Cfluviurrh / 6730309
Comment asciitab.rrh and place example programs in public domain. catseye 10 years ago
2 changed file(s) with 41 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
4949 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
5050 ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
5151 POSSIBILITY OF SUCH DAMAGE.
52
53 -----------------------------------------------------------------------------
54
55 Finally, all example Cfluviurrh programs in the "eg" directory are in the
56 public domain, as described in the following Unlicense:
57
58 -----------------------------------------------------------------------------
59
60 This is free and unencumbered software released into the public domain.
61
62 Anyone is free to copy, modify, publish, use, compile, sell, or
63 distribute this software, either in source code form or as a compiled
64 binary, for any purpose, commercial or non-commercial, and by any
65 means.
66
67 In jurisdictions that recognize copyright laws, the author or authors
68 of this software dedicate any and all copyright interest in the
69 software to the public domain. We make this dedication for the benefit
70 of the public at large and to the detriment of our heirs and
71 successors. We intend this dedication to be an overt act of
72 relinquishment in perpetuity of all present and future rights to this
73 software under copyright law.
74
75 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
76 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
77 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
78 IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
79 OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
80 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
81 OTHER DEALINGS IN THE SOFTWARE.
82
83 For more information, please refer to <http://unlicense.org/>
0 a=8
0 (print out ASCII table while experiencing a bewildering array of emotions)
1
2 a=8 (initialize "a" register to 64)
13 a*=8
2 b=a
4 b=a (initialize "b" register to 126)
35 b+=a
46 b-=2
57
6 :X
8 :X (label for top of loop)
79 a+=1
8 a>
10 a> (write out contents of a register as an ASCII character)
911
10 z@=X
11 z?a<b
12 z@=X (assign address of label X to "z" register)
13 z?a<b (jump to address in "z" register if "a" is less than "b", and
14 experience an emotion based on the values of the registers "a"-"z")