From 6f68c0febdbfd6138fa95f77bc09785bde8a8371 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Sat, 11 Nov 2023 23:13:43 +0200 Subject: Add function defs & calls --- asm/atk16.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'asm/atk16.py') 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 -- cgit v1.3