aboutsummaryrefslogtreecommitdiff
path: root/demo/inp.asm
diff options
context:
space:
mode:
authorryo <ryo@nopwd.lol>2024-12-30 16:11:32 +0000
committerryo <ryo@nopwd.lol>2024-12-30 16:11:32 +0000
commit24c328db90627881d7c293e1ba481c6bd96e31da (patch)
tree0b125ab8a8d443b7b9bfc1f7943db0a0fc29a1cb /demo/inp.asm
Initial commitHEADmain
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