diff options
| author | Jan Tuomi <jans.tuomi@gmail.com> | 2023-12-01 15:10:41 +0200 |
|---|---|---|
| committer | Jan Tuomi <jans.tuomi@gmail.com> | 2023-12-01 15:10:41 +0200 |
| commit | 7f0614990a6485dccf24e160b491c93c56771b1e (patch) | |
| tree | 79826befff2f7843c63686e84bc276593ad4d52e /asm/atk16.py | |
| parent | e2fd1c7ee759ac8870f21afe5fc4e36c8b808d25 (diff) | |
WIP
Diffstat (limited to 'asm/atk16.py')
| -rw-r--r-- | asm/atk16.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/asm/atk16.py b/asm/atk16.py index cdd9f64..2a1c0a1 100644 --- a/asm/atk16.py +++ b/asm/atk16.py @@ -23,3 +23,7 @@ def asm(asm: str): def ord(char: Char) -> int: """Convert char to int""" raise NotImplementedError + +def const(word: Word16) -> ConstWord16: + """When used in an assignment such as `A = const(0xFF)`, stores the value as a globally accessible constant.""" + raise NotImplementedError
\ No newline at end of file |
