summaryrefslogtreecommitdiff
path: root/demos/inp.asm
diff options
context:
space:
mode:
authorryo <ryo@nopwd.lol>2024-12-30 16:15:09 +0000
committerryo <ryo@nopwd.lol>2024-12-30 16:15:09 +0000
commitf1de771d882ae3848b500b6f558f7307b740b3cd (patch)
tree6011cb740110229712ad7b720ae7b33df21227d2 /demos/inp.asm
Initial commitHEADmain
Diffstat (limited to 'demos/inp.asm')
-rw-r--r--demos/inp.asm9
1 files changed, 9 insertions, 0 deletions
diff --git a/demos/inp.asm b/demos/inp.asm
new file mode 100644
index 0000000..bdec386
--- /dev/null
+++ b/demos/inp.asm
@@ -0,0 +1,9 @@
+ ORG 12
+LINP, SKI / check input flag
+ BUN LINP
+ inp
+ OUT /output character
+ sta CHR i
+ HLT
+CHR,
+ HEX B42