aboutsummaryrefslogtreecommitdiffstats
path: root/asm/atk16.py
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2023-11-11 23:13:43 +0200
committerJan Tuomi <jans.tuomi@gmail.com>2023-11-12 00:40:00 +0200
commit6f68c0febdbfd6138fa95f77bc09785bde8a8371 (patch)
tree8f622e64ddbfa132e9fa991bb3e5961b72f826bb /asm/atk16.py
parentf7dd9705d44b9cee5103b267797c0449d42319df (diff)
Add function defs & calls
Diffstat (limited to 'asm/atk16.py')
-rw-r--r--asm/atk16.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/asm/atk16.py b/asm/atk16.py
index 6d9bc10..9a5921c 100644
--- a/asm/atk16.py
+++ b/asm/atk16.py
@@ -20,3 +20,7 @@ def call_inline(expr: T) -> T:
def asm(asm: str):
"""Inject ATK16 assembly `asm` into the compiled output."""
return NotImplemented
+
+def ord(char: Char) -> int:
+ """Convert char to int"""
+ return NotImplemented