summaryrefslogtreecommitdiffstats
path: root/sw-z80/hello/hello.s
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2018-11-01 01:23:45 +0100
committerNao Pross <naopross@thearcway.org>2018-11-01 01:23:45 +0100
commitc7d7b50451924b8eccacb7540f58608eaf3017cb (patch)
tree1a3fe45747064dc5537f028137e87b9f851672de /sw-z80/hello/hello.s
parentAdd Z80 user manual (diff)
downloadz80uPC-naopross.tar.gz
z80uPC-naopross.zip
[z80] Add hello projectnaopross
Diffstat (limited to '')
-rw-r--r--sw-z80/hello/hello.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/sw-z80/hello/hello.s b/sw-z80/hello/hello.s
new file mode 100644
index 0000000..d5d3323
--- /dev/null
+++ b/sw-z80/hello/hello.s
@@ -0,0 +1,9 @@
+org 100h
+jp .loop
+
+.loop:
+ ; main loop code
+ ld a,1
+ jp .loop
+
+halt