diff options
author | elioat <elioat@tilde.institute> | 2022-10-08 00:36:58 +0000 |
---|---|---|
committer | elioat <elioat@tilde.institute> | 2022-10-08 00:36:58 +0000 |
commit | 47f67f9dbef72a74dfb24c6bb716c64377406a20 (patch) | |
tree | 023655961594e8b59f6fc09a300ded9d279ce173 | |
parent | edc101e80bfb932bba7a8c4f063e6b84a910c45b (diff) | |
download | tour-47f67f9dbef72a74dfb24c6bb716c64377406a20.tar.gz |
*
-rwxr-xr-x | uxntal/build.sh | 5 | ||||
-rw-r--r-- | uxntal/hi.rom | bin | 0 -> 31 bytes | |||
-rw-r--r-- | uxntal/hi.tal | 19 |
3 files changed, 24 insertions, 0 deletions
diff --git a/uxntal/build.sh b/uxntal/build.sh new file mode 100755 index 0000000..f79bdca --- /dev/null +++ b/uxntal/build.sh @@ -0,0 +1,5 @@ +#!/bin/ksh + +rm hi.rom +u uxnasm hi.tal hi.rom +u uxncli hi.rom diff --git a/uxntal/hi.rom b/uxntal/hi.rom new file mode 100644 index 0000000..b3fd8ea --- /dev/null +++ b/uxntal/hi.rom Binary files differdiff --git a/uxntal/hi.tal b/uxntal/hi.tal new file mode 100644 index 0000000..2565ff1 --- /dev/null +++ b/uxntal/hi.tal @@ -0,0 +1,19 @@ +%EMIT { #18 DEO } +%HALT { #010f DEO } + +( init ) + +|0100 @program + + ;hello-word + + &while + ( send ) LDAk EMIT + ( loop ) INC2 LDAk ,&while JCN + POP2 + + HALT + +BRK + +@hello-word "Hello 20 "World! 00 |