aboutsummaryrefslogtreecommitdiff
path: root/demo/inp.asm
diff options
context:
space:
mode:
Diffstat (limited to 'demo/inp.asm')
-rw-r--r--demo/inp.asm7
1 files changed, 7 insertions, 0 deletions
diff --git a/demo/inp.asm b/demo/inp.asm
new file mode 100644
index 0000000..26304c0
--- /dev/null
+++ b/demo/inp.asm
@@ -0,0 +1,7 @@
+ ORG 12
+LINP, SKI / check input flag
+ BUN LINP
+ INP
+ OUT /output character
+ STA CHR
+CHR, HLT