summaryrefslogtreecommitdiff
path: root/mem/hello.pal
diff options
context:
space:
mode:
authorJulian Blake Kongslie2021-04-18 16:00:54 -0700
committerJulian Blake Kongslie2021-04-18 16:12:38 -0700
commit5742e1f66c4e70151865de7092547223898bbf6b (patch)
tree5c4208eb0a32c985e1aa22e230b20fc780234152 /mem/hello.pal
parentMove the core logic out of the top module. (diff)
downloadnoncpu-5742e1f66c4e70151865de7092547223898bbf6b.tar.xz
Support a proper PDP-8 assembler.
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$