summaryrefslogtreecommitdiff
path: root/mem/hello.pal
diff options
context:
space:
mode:
Diffstat (limited to 'mem/hello.pal')
-rw-r--r--mem/hello.pal30
1 files changed, 30 insertions, 0 deletions
diff --git a/mem/hello.pal b/mem/hello.pal
new file mode 100644
index 0000000..437ccf9
--- /dev/null
+++ b/mem/hello.pal
@@ -0,0 +1,30 @@
1 *200
2START, CLA CLL
3 TAD HELLO
4 DCA 10
5LOOP, TAD I 10
6 SNA
7 JMP EXIT
8 TLS
9 TSF
10 JMP .-1
11 CLA
12 JMP LOOP
13EXIT, HLT
14 JMP START
15HELLO, .
16 "H
17 "e
18 "l
19 "l
20 "o
21 ",
22 "
23 "w
24 "o
25 "r
26 "l
27 "d
28 "!
29 0
30$