From 47f67f9dbef72a74dfb24c6bb716c64377406a20 Mon Sep 17 00:00:00 2001 From: elioat Date: Sat, 8 Oct 2022 00:36:58 +0000 Subject: * --- uxntal/build.sh | 5 +++++ uxntal/hi.rom | Bin 0 -> 31 bytes uxntal/hi.tal | 19 +++++++++++++++++++ 3 files changed, 24 insertions(+) create mode 100755 uxntal/build.sh create mode 100644 uxntal/hi.rom create mode 100644 uxntal/hi.tal 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 Binary files /dev/null and b/uxntal/hi.rom differ diff --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 -- cgit 1.4.1-2-gfad0